1Log::ger::Format(3) User Contributed Perl Documentation Log::ger::Format(3)
2
3
4
6 Log::ger::Format - Use a format plugin
7
9 version 0.023
10
12 To set for current package only:
13
14 use Log::ger::Format 'Block';
15
16 or:
17
18 use Log::ger::Format;
19 Log::ger::Format->set_for_current_package('Block');
20
21 To set globally:
22
23 use Log::ger::Format;
24 Log::ger::Format->set('Block');
25
27 Note: Since format plugins affect log-producing code, the import syntax
28 defaults to setting for current package instead of globally.
29
31 Log::ger::Layout
32
33 Log::ger::Output
34
35 Log::ger::Plugin
36
38 perlancar <perlancar@cpan.org>
39
41 This software is copyright (c) 2017 by perlancar@cpan.org.
42
43 This is free software; you can redistribute it and/or modify it under
44 the same terms as the Perl 5 programming language system itself.
45
46
47
48perl v5.28.0 2017-08-03 Log::ger::Format(3)