Class: Woodchuck::Logger
- Inherits:
-
Cabin::Channel
- Object
- Cabin::Channel
- Woodchuck::Logger
- Defined in:
- lib/woodchuck/logger.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ Logger
constructor
A new instance of Logger.
Constructor Details
#initialize(*args) ⇒ Logger
Returns a new instance of Logger.
6 7 8 9 10 11 12 |
# File 'lib/woodchuck/logger.rb', line 6 def initialize(*args) super() subscribe(args[0]) metrics.channel = Cabin::Channel.new end |