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::YAML - Config loader for YAML.

Author

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

Config Style

           ---
           file:
             mylog:
               debug_mode: 2
               filename: example.log
               fileopen: 1
               maxlevel: info
               minlevel: warn
               mode: append
               newline: 1
               permissions: 0640
               message_layout: %T %H[%P] [%L] %S: %m
               reopen: 1
               timeformat: %b %d %H:%M:%S

Exports

       No exports.

Name

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

Prerequisites

           YAML

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::YAML;

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

See Also