1Log::Handler::Plugin::CUosnefrigC:o:nGterniebruatle(d3L)Poegr:l:HDaoncdulmeern:t:aPtliuognin::Config::General(3)
2
3
4
6 Log::Handler::Plugin::Config::General - Config loader for
7 Config::General.
8
10 use Log::Handler::Plugin::Config::General;
11
12 my $config = Log::Handler::Plugin::Config::General->get_config( $config_file );
13
15 get_config()
16 Expect the config file name and returns the config as a reference.
17
19 <file>
20 <mylog>
21 fileopen = 1
22 reopen = 1
23 permissions = 0640
24 maxlevel = info
25 mode = append
26 timeformat = %b %d %H:%M:%S
27 debug_mode = 2
28 filename = example.log
29 minlevel = warn
30 message_layout = %T %H[%P] [%L] %S: %m
31 newline = 1
32 </mylog>
33 </file>
34
36 Config::General
37
39 No exports.
40
42 Please report all bugs to <jschulz.cpan(at)bloonix.de>.
43
44 If you send me a mail then add Log::Handler into the subject.
45
47 Jonny Schulz <jschulz.cpan(at)bloonix.de>.
48
50 Copyright (C) 2007-2009 by Jonny Schulz. All rights reserved.
51
52 This program is free software; you can redistribute it and/or modify it
53 under the same terms as Perl itself.
54
55
56
57perl v5.32.0 2020-L0o7g-:2:8Handler::Plugin::Config::General(3)