NAME

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

SYNOPSIS

use Log::Handler::Plugin::Config::YAML;

my $config = Log::Handler::Plugin::Config::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
    prefix: '%T %H[%P] [%L] %S: '
    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>.

AUTHOR

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

COPYRIGHT

Copyright (C) 2007 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.