Class God::SysLogger
In: lib/god/sys_logger.rb
Parent: Object

Methods

level=   log  

Constants

SYMBOL_EQUIVALENTS = { :fatal => Syslog::LOG_CRIT, :error => Syslog::LOG_ERR, :warn => Syslog::LOG_WARNING, :info => Syslog::LOG_INFO, :debug => Syslog::LOG_DEBUG }

Public Class methods

Set the log level

  +level+ is the Symbol level to set as maximum. One of:
          [:fatal | :error | :warn | :info | :debug ]

Returns Nothing

Log a message to syslog.

  +level+ is the Symbol level of the message. One of:
          [:fatal | :error | :warn | :info | :debug ]
  +text+ is the String text of the message

Returns Nothing

[Validate]