Class: Embork::Logger
- Inherits:
-
Logger
- Object
- Logger
- Embork::Logger
- Defined in:
- lib/embork/logger.rb
Instance Method Summary collapse
-
#initialize(stream, mode = :default) ⇒ Logger
constructor
A new instance of Logger.
Constructor Details
#initialize(stream, mode = :default) ⇒ Logger
Returns a new instance of Logger.
5 6 7 8 9 10 11 |
# File 'lib/embork/logger.rb', line 5 def initialize(stream, mode = :default) super(stream) @mode = mode if @mode == :simple self.formatter = simple_formatter end end |