- COPYRIGHT AND LICENSE
Log::Tree - lightweight but highly configurable logging class
use Log::Tree; my $logger = Log::Tree::->new('foo'); ...
Only mandatory attirbute. Used as the syslog faclity and to auto-construct a suiteable filename for logging to file.
This method is usually not needed from by callers but may be in some rare ocasions that's why it's made part of the public API. It just adds the passed data to the internal buffer w/o logging it in the usual ways.
This method clears the internal log buffer.
This method should be called after it has been fork()ed to clear the internal log buffer.
Retrieve those entries from the buffer that are gte the given severity.
Log a message. Takes a hash containing at least "message" and "level".
Call on instatiation to set this class up.
Translates a numeric level to severity string.
Translates a severity string to a numeric level.
Log::Tree - Lightyweight logging w/ a tree based verbosity configuration similar to Log4perl.
Dominik Schulz <firstname.lastname@example.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Dominik Schulz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.