The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.033 - 2020-03-07

  • Rename things for clarity. 1) routine types: log_{sub,method} -> logger_{sub,method}, is_{sub,method} -> level_checker_{sub,method} (old names still accepted for now). 2) hooks: create_is_routine -> create_level_checker, create_log_routine -> create_outputter (old names still accepted for now). This avoids confusion between "logger routine" (the final routine that gets installed to target) vs "outputter" (the routine that does actual sending to output, provided by output plugins). The "is routine" was also a bad name.

Modules

A lightweight, flexible logging framework
Use a filter plugin
Filter using a coderef
Use a format plugin
Use default Log::ger formatting style
Perform no formatting on the message
The bulk of the implementation of Log::ger
Use a layout plugin
Set logging output
Set output to a string
Use a plugin
Create a log($LEVEL, ...) subroutine/method
Utility routines for Log::ger