Log::Handler::Plugin::YAML(3pm)

Log::Handler::Plugin::YAML3pm

Config loader for yaml.

Usage

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

Routines

get_config()

Expect the config file name and returns the config as a reference.

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

Prerequisites

    YAML

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.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 6 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9–10
  6. 11
  7. 12–13

Author

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

From liblog-handler-perl 0.90-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.