Sponsoring The Perl Toolchain Summit 2025: Help make this important event another success Learn more

NAME

Log::ger::Level::Like::Syslog - Define logging levels like those described in RFC 3164 (syslog protocol)

VERSION

version 0.001

SYNOPSIS

# load before 'use Log::ger' in any package/target

DESCRIPTION

This module changes the Log::ger levels to:

emergency => 0, # system is unusable
alert => 6, # action must be taken immediately
critical => 10, # critical conditions
error => 20, # error conditions
warning => 30, # warning conditions
notice => 35, # normal but significant condition
info => 40, # informational messages
debug => 50, # debug level messages

which are priorities defined in RFC 3164 (the BSD Syslog protocol).

SEE ALSO

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by perlancar@cpan.org.

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