module Gml

This module provides static data for the GenericMonitorLog.

Constants

DEFAULT_OPTIONS

The default options for GenericMonitorLog.

{
  :console      => STDERR               // An IO object to output to.  Defaults to STDERR, set to nil to disable,
                                        // or set to an IO object like STDOUT or STDERR.
  :log_level    => Gml::LOG_LEVEL_INFO  // The logging level. Defaults to LOG_LEVEL_INFO.
  :output       => nil                  // The filename or IO object to write log entries to.
                                        // Set to nil to disable, or a file name in the form of a string, or
                                        // an IO object if you want to manage the log file separately.
  :time_format  => "%c"                 // The time format.  Can be set to the format as specified in
                                        // Time.strftime
}
LOG_LEVEL_DEBUG

Log debug messages and below

LOG_LEVEL_INFO

Log information messages and below

LOG_LEVEL_OFF

Turn logging off

LOG_LEVEL_PANIC

Log panic messages

LOG_LEVEL_TRACE

Log everything

LOG_LEVEL_VERBOSE

Log verbose messages and below

LOG_STRINGS

The string equivalents of the log levels, used for output.

VERSION

The version of the gml gem. Follows Semantic Versioning.