Class: Progstr::Logger
- Inherits:
-
RubyLogger
- Object
- Progstr::Logger
- Defined in:
- lib/progstr/logger.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(source_name = "Unknown") ⇒ Logger
constructor
A new instance of Logger.
Constructor Details
#initialize(source_name = "Unknown") ⇒ Logger
Returns a new instance of Logger.
7 8 9 10 11 12 |
# File 'lib/progstr/logger.rb', line 7 def initialize(source_name = "Unknown") device = LoggerDevice.new(source_name) super(device) @formatter = device.formatter end |