Class: Ramaze::Analogger
- Inherits:
-
Swiftcore::Analogger::Client
- Object
- Swiftcore::Analogger::Client
- Ramaze::Analogger
- Includes:
- Logging
- Defined in:
- lib/ramaze/log/analogger.rb
Overview
Informer for the Swiftcore Analogger logging system.
You can find it at analogger.swiftcore.org and install with gem install analogger
Instance Method Summary collapse
-
#initialize(name = class_trait[:name], host = class_trait[:host], port = class_trait[:port]) ⇒ Analogger
constructor
Create a new instance, parameters default to the traits.
-
#log(tag, *args) ⇒ Object
integration to Logging.
Methods included from Logging
#debug, #debug?, #dev, #error, #info, #shutdown, #tag_log, #warn
Constructor Details
#initialize(name = class_trait[:name], host = class_trait[:host], port = class_trait[:port]) ⇒ Analogger
Create a new instance, parameters default to the traits.
27 28 29 |
# File 'lib/ramaze/log/analogger.rb', line 27 def initialize(name = class_trait[:name], host = class_trait[:host], port = class_trait[:port]) super end |
Instance Method Details
#log(tag, *args) ⇒ Object
integration to Logging
33 34 35 |
# File 'lib/ramaze/log/analogger.rb', line 33 def log(tag, *args) log(tag, args.join("\n")) end |