-
-
12 Jul 2020 13:43:09 UTC
- Distribution: Log-Handler
- Module version: 0.02
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (4)
- Testers (82 / 0 / 0)
- Kwalitee
Bus factor: 1- 58.41% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (61.08KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Carp
- Data::Dumper
- Fcntl
- File::Spec
- POSIX
- Params::Validate
- Sys::Hostname
- Test::More
- Time::HiRes
- UNIVERSAL
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Log::Handler::Plugin::Config::General - Config loader for Config::General.
SYNOPSIS
use Log::Handler::Plugin::Config::General; my $config = Log::Handler::Plugin::Config::General->get_config( $config_file );
ROUTINES
get_config()
Expect the config file name and returns the config as a reference.
CONFIG STYLE
<file> <mylog> fileopen = 1 reopen = 1 permissions = 0640 maxlevel = info mode = append timeformat = %b %d %H:%M:%S debug_mode = 2 filename = example.log minlevel = warn message_layout = %T %H[%P] [%L] %S: %m newline = 1 </mylog> </file>
PREREQUISITES
Config::General
EXPORTS
No exports.
REPORT BUGS
Please report all bugs to <jschulz.cpan(at)bloonix.de>.
If you send me a mail then add Log::Handler into the subject.
AUTHOR
Jonny Schulz <jschulz.cpan(at)bloonix.de>.
COPYRIGHT
Copyright (C) 2007-2009 by Jonny Schulz. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install Log::Handler, copy and paste the appropriate command in to your terminal.
cpanm Log::Handler
perl -MCPAN -e shell install Log::Handler
For more information on module installation, please visit the detailed CPAN module installation guide.