GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
EasyCatch(3) User Contributed Perl Documentation EasyCatch(3)
 

Log::Log4perl::EasyCatch - Easy Logging with Log4perl, catching errors and warnings, using configfile

Version 0.1.x

  use Log::Log4perl::EasyCatch;
  
  INFO "Startup!";
  
  ERROR "There is an error: $error" if $error;
  
  DEBUG "Internal state: $status";
  ...

Everything from Log::Log4perl in easy mode, plus: Logging of warnings and Exceptions; default config file.

Automatic logging of data structures via Data::Dumper! Configure default log_dir via import.
Include a default log config and optionally write it?

Returns a log dir; can be called from logging-properties file!
2019-01-02 perl v5.28.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.