Class | God::Logger |
In: |
lib/god/logger.rb
|
Parent: | ::Logger |
SYSLOG_EQUIVALENTS | = | {:fatal => :crit, :error => :err, :warn => :debug, :info => :debug, :debug => :debug} |
logs | [RW] | |
syslog | [RW] |
Disable capturing of log and return what was captured since capturing was enabled with Logger#start_capture
Returns String
If Logger.syslog is true then attempt to load the syslog bindings. If syslog cannot be loaded, then set Logger.syslog to false and continue.
Returns nothing
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