![]() |
![]()
| ![]() |
![]()
NAMELog::Handler::Plugin::Config::General - Config loader for Config::General. SYNOPSISuse Log::Handler::Plugin::Config::General; my $config = Log::Handler::Plugin::Config::General->get_config( $config_file ); ROUTINESget_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> PREREQUISITESConfig::General EXPORTSNo exports. REPORT BUGSPlease report all bugs to <jschulz.cpan(at)bloonix.de>. If you send me a mail then add Log::Handler into the subject. AUTHORJonny Schulz <jschulz.cpan(at)bloonix.de>. COPYRIGHTCopyright (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.
|