Provides methods to log via syslog
Method to enable debug mode
Method to toggle debug mode
Determine if debug mode is currently set
Private Method
Open the syslog connection defined within the Configuration file
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
Take the type and the human readable message and print it to STDERR if debug is on
To install RWDE, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RWDE
CPAN shell
perl -MCPAN -e shell install RWDE
For more information on module installation, please visit the detailed CPAN module installation guide.