Class: Dry::Monitor::Logger
- Inherits:
-
Logger
- Object
- Logger
- Dry::Monitor::Logger
- Defined in:
- lib/dry/monitor/logger.rb
Constant Summary collapse
- DEFAULT_FORMATTER =
proc do |_severity, _datetime, _progname, msg| "#{msg}\n" end
Instance Method Summary collapse
-
#initialize(*args) ⇒ Logger
constructor
A new instance of Logger.
Constructor Details
#initialize(*args) ⇒ Logger
Returns a new instance of Logger.
12 13 14 15 |
# File 'lib/dry/monitor/logger.rb', line 12 def initialize(*args) super self.formatter = DEFAULT_FORMATTER end |