Parent

Methods

Included Modules

Class/Module Index [+]

Quicksearch

Ramaze::Logger::Analogger

Informer for the Swiftcore Analogger logging system.

You can find it at analogger.swiftcore.org and install with gem install analogger

Public Class Methods

new(name = class_trait[:name], host = class_trait[:host], port = class_trait[:port]) click to toggle source

Create a new instance, parameters default to the traits.

@param [String] name The name of the logging system (can be anything you like). @param [String] host The IP/hostname on which the logging system is running. @param [Integer] port The port of the logging system.

# File lib/ramaze/log/analogger.rb, line 34
def initialize(name = class_trait[:name], host = class_trait[:host], 
port = class_trait[:port])
  super
end

Public Instance Methods

log(tag, *args) click to toggle source

Integration to Logging

@param [String] tag @param [Hash] args

# File lib/ramaze/log/analogger.rb, line 45
def log(tag, *args)
  super(tag, args.join("\n"))
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.