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.038
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
37 Log::ger::Filter
38
40 perlancar <perlancar@cpan.org>
41
43 This software is copyright (c) 2021, 2020, 2019, 2018, 2017 by
44 perlancar@cpan.org.
45
46 This is free software; you can redistribute it and/or modify it under
47 the same terms as the Perl 5 programming language system itself.
48
49
50
51perl v5.32.1 2021-01-31 Log::ger::Format(3)