Class: Icalendar::Logger
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Icalendar::Logger
- Defined in:
- lib/icalendar/logger.rb
Instance Method Summary collapse
-
#initialize(sink, level = ::Logger::WARN) ⇒ Logger
constructor
A new instance of Logger.
Constructor Details
#initialize(sink, level = ::Logger::WARN) ⇒ Logger
Returns a new instance of Logger.
8 9 10 11 12 |
# File 'lib/icalendar/logger.rb', line 8 def initialize(sink, level = ::Logger::WARN) logger = ::Logger.new(sink) logger.level = level super logger end |