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.031
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) 2020, 2019, 2018, 2017 by
42 perlancar@cpan.org.
43
44 This is free software; you can redistribute it and/or modify it under
45 the same terms as the Perl 5 programming language system itself.
46
47
48
49perl v5.30.1 2020-03-04 Log::ger::Format(3)