Class God::Logger
In: lib/god/logger.rb
Parent: SimpleLogger

Methods

Attributes

logs  [RW] 
syslog  [RW] 

Public Class methods

Instantiate a new Logger object

Public Instance methods

Disable capturing of log and return what was captured since capturing was enabled with Logger#start_capture

Returns String

Log a message

  +watch+ is the String name of the Watch (may be nil if not Watch is applicable)
  +level+ is the log level [:debug|:info|:warn|:error|:fatal]
  +text+ is the String message

Returns nothing

Enable capturing of log

Returns nothing

Get all log output for a given Watch since a certain Time.

  +watch_name+ is the String name of the Watch
  +since+ is the Time since which to fetch log lines

Returns String

[Validate]