logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Log::Handler::Plugin::Config::General - Config loader for Config::General.

Author

       Jonny Schulz <jschulz.cpan(at)bloonix.de>.

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>

Exports

       No exports.

Name

       Log::Handler::Plugin::Config::General - Config loader for Config::General.

Prerequisites

           Config::General

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.

Routines

get_config()
       Expect the config file name and returns the config as a reference.

Synopsis

           use Log::Handler::Plugin::Config::General;

           my $config = Log::Handler::Plugin::Config::General->get_config( $config_file );

See Also