Class: DaimonSkycrawlers::Logger
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- DaimonSkycrawlers::Logger
- Defined in:
- lib/daimon_skycrawlers/logger.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(logdev, shift_age = 0, shift_size = 1048576) ⇒ Logger
constructor
A new instance of Logger.
Constructor Details
#initialize(logdev, shift_age = 0, shift_size = 1048576) ⇒ Logger
Returns a new instance of Logger.
12 13 14 15 |
# File 'lib/daimon_skycrawlers/logger.rb', line 12 def initialize(logdev, shift_age = 0, shift_size = 1048576) @log = ::Logger.new(logdev, shift_age, shift_size) super(@log) end |
Class Method Details
.default ⇒ Object
7 8 9 |
# File 'lib/daimon_skycrawlers/logger.rb', line 7 def default @default ||= DaimonSkycrawlers::Logger.new(STDOUT) end |