Class: DeepTest::Logger
- Inherits:
-
Logger
- Object
- Logger
- DeepTest::Logger
- Defined in:
- lib/deep_test/logger.rb
Instance Method Summary collapse
- #configured_log_level ⇒ Object
-
#initialize(*args) ⇒ Logger
constructor
A new instance of Logger.
Constructor Details
#initialize(*args) ⇒ Logger
Returns a new instance of Logger.
3 4 5 6 7 |
# File 'lib/deep_test/logger.rb', line 3 def initialize(*args) super self.formatter = proc { |severity, time, progname, msg| "[DeepTest] #{msg}\n" } self.level = configured_log_level end |