dry-logger
dry-logger copied to clipboard
Logging library
fixes #25 --- This patch allows a Dry-Logger instance to accept log messages via a block. If a block is passed to `#unknown`, `#debug`, `#info`, `#warn`, `#error`, or `#fatal`, the...
I tried to plugin a `Dry::Logger`-instance at `Faraday's` logging middleware: ```ruby class MyRepo include Deps["logger"] def initialize(logger:) @logger = logger conn = Faraday.new(url: Ots::Slice[:settings].ots_endpoint) do |conn| conn.response :logger, logger end...
`Dry::Logger::Formatters::String#format_exception` method references the `EMPTY_BACKTRACE` constant but it is never defined. https://github.com/dry-rb/dry-logger/blob/34039a19ace32e95863750bda3b3188abdb9551c/lib/dry/logger/formatters/string.rb#L95-L102
## Describe the bug When using a logger with `filters` specified, and you pass a reference to a hash as a parameter, and that hash has some parameters that will...