RWDE::Logger

Provides methods to log via syslog

set_debug()

Method to enable debug mode

toggle_debug()

Method to toggle debug mode

is_debug()

Determine if debug mode is currently set

_init_syslog()

Private Method

Open the syslog connection defined within the Configuration file

syslog_msg()

Log a message to syslog via the established syslog connection

A type and info are required

type is one of debug, info, notice, warning, err, crit, alert, emerg info is the desired log message

debug_info()

Take the type and the human readable message and print it to STDERR if debug is on