The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Log::Log4perl::Level - Predefined log levels

SYNOPSIS

  use Log::Log4perl::Level;

  print $ERROR, "\n";
      # => "3"

DESCRIPTION

This package simply exports a predefined set of Log4perl log levels to the caller's name space. After

    use Log::Log4perl::Level;

the following scalar are defined:

    $OFF    => 0
    $FATAL  => 0
    $ERROR  => 3
    $WARN   => 4
    $INFO   => 6
    $DEBUG  => 7
    $ALL    => 7

If the caller wants to import these constants into a different namespace, it can be provided with the use command:

    use Log::Log4perl::Level qw(Level);

After this $Level::ERROR, $Level::INFO etc. will be defined accordingly.

SEE ALSO

AUTHOR

Mike Schilli, <m@perlmeister.com>

COPYRIGHT AND LICENSE

Copyright 2002 by Mike Schilli

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