Class: Ramaze::Logger::Analogger

Inherits:
Swiftcore::Analogger::Client
  • Object
show all
Includes:
Ramaze::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

Methods included from Ramaze::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.



28
29
30
# File 'lib/ramaze/log/analogger.rb', line 28

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



34
35
36
# File 'lib/ramaze/log/analogger.rb', line 34

def log(tag, *args)
  super(tag, args.join("\n"))
end