Class: Halcyon::Logging::Analogger

Inherits:
Swiftcore::Analogger::Client
  • Object
show all
Defined in:
lib/halcyon/logging/analogger.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.setup(config) ⇒ Object



8
9
10
# File 'lib/halcyon/logging/analogger.rb', line 8

def setup(config)
  self.new((config[:app] || Halcyon.app), config[:host], config[:port].to_s, config[:key])
end

Instance Method Details

#<<(message) ⇒ Object



24
25
26
27
# File 'lib/halcyon/logging/analogger.rb', line 24

def <<(message)
  # Should << be assumed as INFO level?
  self.log('info', message)
end