Class: Woodchuck::Logger

Inherits:
Cabin::Channel
  • Object
show all
Defined in:
lib/woodchuck/logger.rb

Instance Method Summary collapse

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