Skip to content

Commit

Permalink
[Doc] default_logger expects a callable interface (#1121)
Browse files Browse the repository at this point in the history
Current wording makes it sound like it directly accepts a Logger; in
reality it must be a callable object that returns a Logger.
  • Loading branch information
alassek authored Feb 15, 2023
1 parent 876146a commit 32d7856
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ end

### default_logger

**Default** `Logger.new(STDERR)`
**Default** `lambda { Logger.new(STDERR) }`

What logger to use for printing debugging and informational messages during
operation.
operation. Expects a callable object that returns a logger interface.

### logger_level

Expand Down

0 comments on commit 32d7856

Please sign in to comment.