DOKK / manpages / debian 12 / liblog-any-perl / Log::Any::Adapter::Stderr.3pm.en
Log::Any::Adapter::Stderr(3pm) User Contributed Perl Documentation Log::Any::Adapter::Stderr(3pm)

Log::Any::Adapter::Stderr - Simple adapter for logging to STDERR

version 1.713

    use Log::Any::Adapter ('Stderr');
    # or
    use Log::Any::Adapter;
    ...
    Log::Any::Adapter->set('Stderr');
    # with minimum level 'warn'
    use Log::Any::Adapter ('Stderr', log_level => 'warn' );

This simple built-in Log::Any adapter logs each message to STDERR with a newline appended. Category is ignored.

The "log_level" attribute may be set to define a minimum level to log.

Log::Any, Log::Any::Adapter

  • Jonathan Swartz <swartz@pobox.com>
  • David Golden <dagolden@cpan.org>
  • Doug Bell <preaction@cpan.org>
  • Daniel Pittman <daniel@rimspace.net>
  • Stephen Thirlwall <sdt@cpan.org>

This software is copyright (c) 2017 by Jonathan Swartz, David Golden, and Doug Bell.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2023-01-07 perl v5.36.0