1Log::Any::Adapter::StdoUuste(r3)Contributed Perl DocumenLtoagt:i:oAnny::Adapter::Stdout(3)
2
3
4
6 Log::Any::Adapter::Stdout - Simple adapter for logging to STDOUT
7
9 version 1.717
10
12 use Log::Any::Adapter ('Stdout');
13
14 # or
15
16 use Log::Any::Adapter;
17 ...
18 Log::Any::Adapter->set('Stdout');
19
20 # with minimum level 'warn'
21
22 use Log::Any::Adapter ('Stdout', log_level => 'warn' );
23
25 This simple built-in Log::Any adapter logs each message to STDOUT with
26 a newline appended. Category is ignored.
27
28 The "log_level" attribute may be set to define a minimum level to log.
29
31 Log::Any, Log::Any::Adapter
32
34 • Jonathan Swartz <swartz@pobox.com>
35
36 • David Golden <dagolden@cpan.org>
37
38 • Doug Bell <preaction@cpan.org>
39
40 • Daniel Pittman <daniel@rimspace.net>
41
42 • Stephen Thirlwall <sdt@cpan.org>
43
45 This software is copyright (c) 2017 by Jonathan Swartz, David Golden,
46 and Doug Bell.
47
48 This is free software; you can redistribute it and/or modify it under
49 the same terms as the Perl 5 programming language system itself.
50
51
52
53perl v5.38.0 2023-08-20 Log::Any::Adapter::Stdout(3)