Overview

Request 783277 accepted

- updated to 0.033
see /usr/share/doc/packages/perl-Log-ger/Changes
0.033 2020-03-07 Released-By: PERLANCAR; Urgency: medium

- 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.


0.032 2020-03-06 Released-By: PERLANCAR; Urgency: medium

- Introduce filters as a way to do custom filtering as well as to
extract additional information from the original logger arguments,
e.g. so we can do multilevel log(level=>..., message=>...), pass
category log(category=>..., ...) and so on.

- [INCOMPATIBLE CHANGE] [removed feature] Remove multilevel (logml)
stuffs and reimplement them with filters: remove logml_{subs,methods}
routine types, remove create_logml_routine phase, remove ArrayML
output. All outputs/plugins that provide create_logml_routine will
stop working and will need to be updated.

- [INCOMPATIBLE CHANGE] Rename some hook arguments passed to plugin for
clarity: target -> target_type, target_arg -> target_name, init_args
-> per_target_conf.

- Merge Log::ger::Format::Default from Log-ger-Default-Format.

- Rename variables/terminologies to be clearer: target -> target type,
target arg -> target name, init args -> per-target conf. We also now
have per-message conf, produced by filter.


0.031 2020-03-04 Released-By: PERLANCAR; Urgency: medium

- Allow each routine to have its own init args; this allows e.g.
creating multiple sets of logger subroutines that log to
different categories, as implemented in
Log::ger::Plugin::Multisets.

- Silence 'Redundant argument in sprintf' warning.

- [doc] Tweak to make module name and version clearer [GH #2].


0.030 2020-02-18 Released-By: PERLANCAR; Urgency: low

- No functional changes.

- [doc] Tweak Synopsis, at least show how to set level & pick
multiple outputs.

Loading...
Request History
Tina Müller's avatar

tinita created request

- updated to 0.033
see /usr/share/doc/packages/perl-Log-ger/Changes
0.033 2020-03-07 Released-By: PERLANCAR; Urgency: medium

- 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.


0.032 2020-03-06 Released-By: PERLANCAR; Urgency: medium

- Introduce filters as a way to do custom filtering as well as to
extract additional information from the original logger arguments,
e.g. so we can do multilevel log(level=>..., message=>...), pass
category log(category=>..., ...) and so on.

- [INCOMPATIBLE CHANGE] [removed feature] Remove multilevel (logml)
stuffs and reimplement them with filters: remove logml_{subs,methods}
routine types, remove create_logml_routine phase, remove ArrayML
output. All outputs/plugins that provide create_logml_routine will
stop working and will need to be updated.

- [INCOMPATIBLE CHANGE] Rename some hook arguments passed to plugin for
clarity: target -> target_type, target_arg -> target_name, init_args
-> per_target_conf.

- Merge Log::ger::Format::Default from Log-ger-Default-Format.

- Rename variables/terminologies to be clearer: target -> target type,
target arg -> target name, init args -> per-target conf. We also now
have per-message conf, produced by filter.


0.031 2020-03-04 Released-By: PERLANCAR; Urgency: medium

- Allow each routine to have its own init args; this allows e.g.
creating multiple sets of logger subroutines that log to
different categories, as implemented in
Log::ger::Plugin::Multisets.

- Silence 'Redundant argument in sprintf' warning.

- [doc] Tweak to make module name and version clearer [GH #2].


0.030 2020-02-18 Released-By: PERLANCAR; Urgency: low

- No functional changes.

- [doc] Tweak Synopsis, at least show how to set level & pick
multiple outputs.


Dirk Stoecker's avatar

dstoecker accepted request

openSUSE Build Service is sponsored by