1Log::Handler::Plugin::YUAsMeLr(3C)ontributed Perl DocumeLnotga:t:iHoanndler::Plugin::YAML(3)
2
3
4

NAME

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

SYNOPSIS

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

ROUTINES

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

CONFIG STYLE

18           ---
19           file:
20             mylog:
21               debug_mode: 2
22               filename: example.log
23               fileopen: 1
24               maxlevel: info
25               minlevel: warn
26               mode: append
27               newline: 1
28               permissions: 0640
29               message_layout: %T %H[%P] [%L] %S: %m
30               reopen: 1
31               timeformat: %b %d %H:%M:%S
32

PREREQUISITES

34           YAML
35

EXPORTS

37       No exports.
38

REPORT BUGS

40       Please report all bugs to <jschulz.cpan(at)bloonix.de>.
41
42       If you send me a mail then add Log::Handler into the subject.
43

AUTHOR

45       Jonny Schulz <jschulz.cpan(at)bloonix.de>.
46
48       Copyright (C) 2007-2009 by Jonny Schulz. All rights reserved.
49
50       This program is free software; you can redistribute it and/or modify it
51       under the same terms as Perl itself.
52
53
54
55perl v5.28.1                      2013-11-03     Log::Handler::Plugin::YAML(3)
Impressum