![]() |
![]()
| ![]() |
![]()
NAMELog::Log4perl::EasyCatch - Easy Logging with Log4perl, catching errors and warnings, using configfile VERSIONVersion 0.1.x SYNOPSISuse Log::Log4perl::EasyCatch; INFO "Startup!"; ERROR "There is an error: $error" if $error; DEBUG "Internal state: $status"; ... DESCRIPTIONEverything from Log::Log4perl in easy mode, plus: Logging of warnings and Exceptions; default config file. TODO:Automatic logging of data structures via Data::Dumper! Configure default log_dir via import. Include a default log config and optionally write it? get_log_dir($application)Returns a log dir; can be called from logging-properties file!
|