Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
EasyCatch(3)	      User Contributed Perl Documentation	  EasyCatch(3)

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

VERSION
       Version 0.1.x

SYNOPSIS
	 use Log::Log4perl::EasyCatch;

	 INFO "Startup!";

	 ERROR "There is an error: $error" if $error;

	 DEBUG "Internal state:	$status";

	 ...

DESCRIPTION
       Everything 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!

perl v5.32.0			  2020-08-24			  EasyCatch(3)

NAME | VERSION | SYNOPSIS | DESCRIPTION | TODO:

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Log::Log4perl::EasyCatch&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help