Log::Fine::Levels::Java - Provides levels correlating to java.utils.logging


Log-Fine documentation  | view source Contained in the Log-Fine distribution.

Index


NAME

Top

Log::Fine::Levels::Java - Provides levels correlating to java.utils.logging

SYNOPSIS

Top

Defines log level values and masks correlating to those provided by java.utils.logging

    use Log::Fine;
    use Log::Fine::Levels::Java;

    # grab a logging object
    my $log = Log::Fine->getLogger("foo1");

    # Note that FINER and SEVERE are provided by the
    # Log::Fine::Levels::Java object
    $log->log(FINER, "I'm not mad at you, I'm mad at the dirt");
    $log->log(SEVERE, "No more wire hangers ... EVER!");

DESCRIPTION

Top

Log::Fine::Levels::Java provides logging and mask constants mimicking those provided by the java.utils.logging framework as provided by Java 1.5.0

Log Levels

Log::Fine::Levels::Java bases its log levels on those provided by java.util.logging.Levels. See http://java.sun.com/j2se/1.5.0/docs/api/java/util/logging/Level.html for further specifics.

* SEVERE
* WARNING
* INFO
* CONFIG
* FINE
* FINER
* FINEST

Log Masks

Log masks can be exported for use in setting up individual handles (see Log::Fine::Handle). The following masks are exported into the caller's namespace:

* LOGMASK_SEVERE
* LOGMASK_WARNING
* LOGMASK_INFO
* LOGMASK_CONFIG
* LOGMASK_FINE
* LOGMASK_FINER
* LOGMASK_FINEST

See Log::Fine::Handle for more information.

CONSTRUCTOR

Top

new

Returns a newly constructed object

BUGS

Top

Please report any bugs or feature requests to bug-log-fine at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Log-Fine. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

Top

You can find documentation for this module with the perldoc command.

    perldoc Log::Fine::Levels::Java

You can also look for information at:

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/Log-Fine

* CPAN Ratings

http://cpanratings.perl.org/d/Log-Fine

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=Log-Fine

* Search CPAN

http://search.cpan.org/dist/Log-Fine

REVISION INFORMATION

Top

  $Id: f14739ff813ec7efd28abccc747f9a0e98290a5a $

AUTHOR

Top

Christopher M. Fuhrman, <cfuhrman at panix.com>

SEE ALSO

Top

perl, syslog, Log::Fine, Log::Fine::Levels, Sys::Java, http://java.sun.com/j2se/1.5.0/docs/api/java/util/logging/Level.html

COPYRIGHT & LICENSE

Top


Log-Fine documentation  | view source Contained in the Log-Fine distribution.