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.
10 11 12 13 14 |
# File 'lib/icalendar/logger.rb', line 10 def initialize(sink, level = ::Logger::WARN) logger = ::Logger.new(sink) logger.level = level super logger end |