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

FreeBSD Manual Pages

  
 
  

home | help
Log::Contextual::Easy:UseraContributed Perl DLog::Contextual::Easy::Default(3)

NAME
       Log::Contextual::Easy::Default -	Import all logging methods with
       WarnLogger as default

VERSION
       version 0.007000

SYNOPSIS
       In your module:

	package	My::Module;
	use Log::Contextual::Easy::Default;

	log_debug { "your message" };
	Dlog_trace { $_	} @vars;

       In your program:

	use My::Module;

	# enable warnings
	$ENV{MY_MODULE_UPTO}="TRACE";

	# or use a specific logger with	set_logger / with_logger

DESCRIPTION
       By default, this	module enables a Log::Contextual::WarnLogger with
       "env_prefix" based on the module's name that uses
       Log::Contextual::Easy. The logging levels are set to "trace" "debug",
       "info", "warn", "error",	and "fatal" (in	this order) and	all logging
       functions (log_..., logS_..., Dlog_..., and Dlog...) are	exported.

       For what	"::Default" implies, see "-default_logger" in Log::Contextual.

SEE ALSO
       Log::Contextual::Easy::Package

AUTHOR
       Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>

COPYRIGHT AND LICENSE
       This software is	copyright (c) 2016 by Arthur Axel "fREW" Schmidt.

       This is free software; you can redistribute it and/or modify it under
       the same	terms as the Perl 5 programming	language system	itself.

perl v5.24.1			  2016-04-12 Log::Contextual::Easy::Default(3)

NAME | VERSION | SYNOPSIS | DESCRIPTION | SEE ALSO | AUTHOR | COPYRIGHT AND LICENSE

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

home | help