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

Changes for version 0.39_17

  • Kicked all <level>_and_croak methods and carp() - to bloated.
  • message_pattern and message_layout is now builded with eval.
  • The patterns are not static any more. Changes at runtime are possible with set_pattern().
  • Fixed Log::Handler::Output::Email - forget to call sendmail() if buffer is set to 0.
  • Kicked option interval from Log::Handler::Output::Email.
  • All log() methods of each output expects now a hash or a hash reference with the message (message => $message). Before this change it was possible to pass a hash reference or a simple string: { message => $message } or just $message.
  • Some other little improvements: POD, Code, Examples

Changes for version 0.39_16

  • Kicked all <level>_and_exit() methods - to bloated.
  • Added Log::Handler::Pattern.
  • Added Log::Handler::Output::Socket.
  • Added option filter and alias to the handler.
  • Added close() to Log::Handler::Output::File.
  • Added connect() and disconnect() to Log::Handler::Output::DBI.
  • Added connect() and disconnect() to Log::Handler::Output::Socket.

Changes for version 0.38_15

  • The old style of Log::Handler version 0.38 is now implemented as Log::Handler::Simple.
  • POD improved; added Changes.pod, Examples.pod.

Changes for version 0.38_14

  • Forget to delete some POD parts - sorry :/

Changes for version 0.38_13

  • Kicked trace() and option "trace".
  • Added trace methods for each level.
  • Added croak, carp, die and warn methods for different levels.
  • Log::Handler::Levels is now the base class for all level methods.

Changes for version 0.38_12

  • Released with a lot of POD, code and example improvements.

Changes for version 0.38_11

  • Changed option message_keys to message_pattern. I hope that was the last change of this name :/
  • Fixed POD typos and improved the documentation.

Changes for version 0.38_10

  • Added Log::Handler::Output::Screen.
  • Added option "priority" to the handler.

Changes for version 0.38_09

  • Fixed t/100-config.t. Config::General was loaded, but it's not in the prereq list. Kicked GLOBREF from the validate list for config filename in Log::Handler::Config.

Changes for version 0.38_08

  • Kicked eval { } from Log::Handler::Output::DBI.
  • Missed documentation for dbi_params in Log::Handler::Output::DBI.

Changes for version 0.38_07

  • Replaced options prefix and postfix with message_layout.
  • Added %m as message to placeholders.
  • Renamed option setinfo to message_keys.
  • Added Log::Handler::Output::DBI.
  • A lot of other code improvements.
  • Moved the main logic from Log::Handler::Logger back to Log::Handler.
  • Renamed Log::Handler::Logger to Log::Handler::Output. This module builds the output message and is just for internal usage.
  • Renamed all output modules from Logger to Output.
  • Patterns are not global any more. Now the patterns are stored into the Log::Handler object.
  • Changed option debug to debug_trace. The reason is that the option debug can be used for output objects.

Changes for version 0.38_06

  • POD improved and a lot of POD typos fixed.
  • Fixed splitToTree argument for plugin Config::Properties.
  • Different code improvements.
  • Add option setinfo to Log::Handler::Logger.
  • The message is now handled with a hash ref intern.

Changes for version 0.38_05

  • Very annoyingly... wrong description for Log::Handler::Logger::Forward.

Changes for version 0.38_04

  • Fixed test for parameter 'filename' in t/03handler.t.
  • Fixed a lot of typos and improved the code.
  • Added Log::Handler::Logger::Forward.
  • Added Log::Handler::Logger::Email with Net::SMTP.
  • Added fatal() to Log::Handler.

Changes for version 0.38_03

  • Added Log::Handler::Config.pm.
  • Added plugins for Config::General, Config::Properties and YAML.
  • Fixed some POD typos.

Changes for version 0.38_02

  • Fixed test for 'mode' in t/03handler.t.
  • POD and intern documentation improved.
  • Fixed example examples/trace.pl.
  • Kicked method levels() from Log::Handler::Logger.
  • Added the option trace. With this option it's possible to deactivate the logging of trace messages to a logfile.

Changes for version 0.38_01

  • Added Log::Handler::Logger and moved the main logger logic to it.
  • Now it's possible to define more than one log file. Each log file got it's own Log::Handler::Logger object.
  • The simple call of "Log::Handler->new()" will not create a default output object for *STDOUT any more, it just creates an empty Log::Handler object.
  • To add log file the method add() should be used. The first log file can be defined by new().
  • The methods close(), set_prefix(), get_prefix are not available any more.
  • The placeholder <--LEVEL--> for the prefix is changed to %L. In addition there are different other placeholders available and it's possible to define a postfix.
  • trace() will trace caller informations to all log files that are defined.
  • Did a lot of other code changes.

Documentation

Changes from 0.38 to 0.40.
Output examples.

Modules

Log messages to one or more outputs.
The main config loader.
All levels for Log::Handler.
The output builder class.
Log messages to a database.
Log messages as email (via Net::SMTP).
Log messages to a file.
Forward messages to routines.
Log messages to the screen.
Send messages to a socket.
The pattern builder class.
Config loader for Config::General.
Config loader for Config::Properties.
Config loader for YAML.
A simple handler to log messages to a log file.