| 1 |
0.042 2023-12-29 Released-By: PERLANCAR; Urgency: low |
| 2 |
|
| 3 |
- No functional changes. |
| 4 |
|
| 5 |
- Document functions in Log::ger::Util. |
| 6 |
|
| 7 |
|
| 8 |
0.041 2023-10-29 Released-By: PERLANCAR; Urgency: low |
| 9 |
|
| 10 |
- No functional changes. |
| 11 |
|
| 12 |
- [doc] Fix minor typos, update mentioned module name. |
| 13 |
|
| 14 |
|
| 15 |
0.040 2022-06-10 Released-By: PERLANCAR; Urgency: low |
| 16 |
|
| 17 |
- No functional changes. |
| 18 |
|
| 19 |
- Edit Changes to add Backward-Incompatible metadata. |
| 20 |
|
| 21 |
|
| 22 |
0.039 2022-06-10 Released-By: PERLANCAR; Urgency: low |
| 23 |
|
| 24 |
- No functional changes. |
| 25 |
|
| 26 |
- [doc] Tweak Log::ger's Synopsis to make the code more explanatory. |
| 27 |
|
| 28 |
- [internals] Replace 'use var' with 'our' as the former is discouraged |
| 29 |
in 5.006+ (thanks James Raspass). |
| 30 |
|
| 31 |
|
| 32 |
0.038 2021-01-31 Released-By: PERLANCAR; Urgency: medium |
| 33 |
|
| 34 |
- Rename Log::ger::Plugin::MultilevelLog to the more appropriate |
| 35 |
Log::ger::Format::MultilevelLog, so use-ing it affects the current |
| 36 |
package only. The old name is still available but deprecated and will |
| 37 |
be removed in the future. |
| 38 |
|
| 39 |
|
| 40 |
0.037 2020-03-11 Released-By: PERLANCAR; Urgency: high; Backward-Incompatible: yes |
| 41 |
|
| 42 |
- [Incompatible change] Bump meta version to 2 to force all plugins |
| 43 |
to be upgraded to comply to Log::ger >0.032. |
| 44 |
|
| 45 |
|
| 46 |
0.036 2020-03-10 Released-By: PERLANCAR; Urgency: medium |
| 47 |
|
| 48 |
- Add _import_to() to easily import to an arbitrary package. |
| 49 |
|
| 50 |
|
| 51 |
0.035 2020-03-10 Released-By: PERLANCAR; Urgency: medium |
| 52 |
|
| 53 |
- Support perl < 5.22 (no warnings category 'redundant' yet) |
| 54 |
[RT#132066]. |
| 55 |
|
| 56 |
|
| 57 |
0.034 2020-03-09 Released-By: PERLANCAR; Urgency: medium |
| 58 |
|
| 59 |
- Add meta() and check meta version so in the future we can reject |
| 60 |
plugins that are not up-to-date. |
| 61 |
|
| 62 |
|
| 63 |
0.033 2020-03-07 Released-By: PERLANCAR; Urgency: medium |
| 64 |
|
| 65 |
- Rename things for clarity. 1) routine types: log_{sub,method} -> |
| 66 |
logger_{sub,method}, is_{sub,method} -> level_checker_{sub,method} |
| 67 |
(old names still accepted for now). 2) hooks: create_is_routine -> |
| 68 |
create_level_checker, create_log_routine -> create_outputter (old |
| 69 |
names still accepted for now). This avoids confusion between "logger |
| 70 |
routine" (the final routine that gets installed to target) vs |
| 71 |
"outputter" (the routine that does actual sending to output, provided |
| 72 |
by output plugins). The "is routine" was also a bad name. |
| 73 |
|
| 74 |
|
| 75 |
0.032 2020-03-06 Released-By: PERLANCAR; Urgency: medium; Backward-Incompatible: yes |
| 76 |
|
| 77 |
- Introduce filters as a way to do custom filtering as well as to |
| 78 |
extract additional information from the original logger arguments, |
| 79 |
e.g. so we can do multilevel log(level=>..., message=>...), pass |
| 80 |
category log(category=>..., ...) and so on. |
| 81 |
|
| 82 |
- [INCOMPATIBLE CHANGE] [removed feature] Remove multilevel (logml) |
| 83 |
stuffs and reimplement them with filters: remove logml_{subs,methods} |
| 84 |
routine types, remove create_logml_routine phase, remove ArrayML |
| 85 |
output. All outputs/plugins that provide create_logml_routine will |
| 86 |
stop working and will need to be updated. |
| 87 |
|
| 88 |
- [INCOMPATIBLE CHANGE] Rename some hook arguments passed to plugin for |
| 89 |
clarity: target -> target_type, target_arg -> target_name, init_args |
| 90 |
-> per_target_conf. |
| 91 |
|
| 92 |
- Merge Log::ger::Format::Default from Log-ger-Default-Format. |
| 93 |
|
| 94 |
- Rename variables/terminologies to be clearer: target -> target type, |
| 95 |
target arg -> target name, init args -> per-target conf. We also now |
| 96 |
have per-message conf, produced by filter. |
| 97 |
|
| 98 |
|
| 99 |
0.031 2020-03-04 Released-By: PERLANCAR; Urgency: medium |
| 100 |
|
| 101 |
- Allow each routine to have its own init args; this allows e.g. |
| 102 |
creating multiple sets of logger subroutines that log to |
| 103 |
different categories, as implemented in |
| 104 |
Log::ger::Plugin::Multisets. |
| 105 |
|
| 106 |
- Silence 'Redundant argument in sprintf' warning. |
| 107 |
|
| 108 |
- [doc] Tweak to make module name and version clearer [GH #2]. |
| 109 |
|
| 110 |
|
| 111 |
0.030 2020-02-18 Released-By: PERLANCAR; Urgency: low |
| 112 |
|
| 113 |
- No functional changes. |
| 114 |
|
| 115 |
- [doc] Tweak Synopsis, at least show how to set level & pick |
| 116 |
multiple outputs. |
| 117 |
|
| 118 |
|
| 119 |
0.029 2020-02-18 Released-By: PERLANCAR; Urgency: low |
| 120 |
|
| 121 |
- No functional changes. |
| 122 |
|
| 123 |
- [dist] Mark default formatter block using # BEGIN_BLOCK .. # END_BLOCK |
| 124 |
so it can be extracted by Dist::Zilla plugin |
| 125 |
[InsertBlock::FromModule]. |
| 126 |
|
| 127 |
|
| 128 |
0.028 2019-05-06 Released-By: PERLANCAR |
| 129 |
|
| 130 |
- Use Data::Dumper's Useqq=1 to show unprintable characters. |
| 131 |
|
| 132 |
|
| 133 |
0.027 2019-04-13 Released-By: PERLANCAR |
| 134 |
|
| 135 |
- Fix startup overhead regression by avoiding to load Sub::Name & |
| 136 |
name routines if we don't have any outputs. |
| 137 |
|
| 138 |
|
| 139 |
0.026 2019-04-12 Released-By: PERLANCAR |
| 140 |
|
| 141 |
- UPDATE 2019-04-13: This version has startup overhead regression. You |
| 142 |
might want to update to 0.027. |
| 143 |
|
| 144 |
- Name the generated routines with Sub::Name if available. |
| 145 |
|
| 146 |
- Remove declaration of unneeded variable $Caller_Depth_Offset. |
| 147 |
|
| 148 |
|
| 149 |
0.025 2018-12-20 Released-By: PERLANCAR |
| 150 |
|
| 151 |
- No functional changes. |
| 152 |
|
| 153 |
- [doc] Mention Debug::Print. |
| 154 |
|
| 155 |
- [doc] Also mention speed relative to Log::Contextual. |
| 156 |
|
| 157 |
|
| 158 |
0.024 2018-12-20 Released-By: PERLANCAR |
| 159 |
|
| 160 |
- No functional changes. |
| 161 |
|
| 162 |
- [doc] Mention that Log::ger is ~100x faster than Log::Dispatch. |
| 163 |
|
| 164 |
|
| 165 |
0.023 2017-08-03 Released-By: PERLANCAR |
| 166 |
|
| 167 |
- [Internal] Change the numeric values of level, to accomodate more room |
| 168 |
for custom levels. |
| 169 |
|
| 170 |
- Defer set default null routines so other module can customize |
| 171 |
levels. |
| 172 |
|
| 173 |
|
| 174 |
0.022 2017-08-03 Released-By: PERLANCAR |
| 175 |
|
| 176 |
- [Bugfix] Fix stupid copy-paste mistake [RT#122687]. |
| 177 |
|
| 178 |
- [doc] Fix copy-paste mistake [RT#122689]. |
| 179 |
|
| 180 |
|
| 181 |
0.021 2017-08-02 Released-By: PERLANCAR |
| 182 |
|
| 183 |
- [Bugfix] Output, Layout: set() now properly replaces hooks from |
| 184 |
previous output/layout plugin (need to remove from all phases). |
| 185 |
|
| 186 |
- Add output for testing: ArrayML. |
| 187 |
|
| 188 |
|
| 189 |
0.020 2017-07-30 Released-By: PERLANCAR |
| 190 |
|
| 191 |
- [ux] Enable $Data::Dmp::OPT_REMOVE_PRAGMAS. |
| 192 |
|
| 193 |
|
| 194 |
0.019 2017-07-14 Released-By: PERLANCAR |
| 195 |
|
| 196 |
- [Bugfix] Forgot to create preconstructed default null-loggers for |
| 197 |
object target. |
| 198 |
|
| 199 |
|
| 200 |
0.018 2017-07-14 Released-By: PERLANCAR |
| 201 |
|
| 202 |
- 'use Log::ger::Format "Foo"' now sets for current package instead of |
| 203 |
globally (but the other plugins like Log::ger::Output or |
| 204 |
Log::ger::Layout still defaults to setting globally). |
| 205 |
|
| 206 |
|
| 207 |
0.017 2017-07-13 Released-By: PERLANCAR |
| 208 |
|
| 209 |
- No functional changes. |
| 210 |
|
| 211 |
- [doc] Update some benchmark numbers. |
| 212 |
|
| 213 |
|
| 214 |
0.016 2017-07-13 Released-By: PERLANCAR |
| 215 |
|
| 216 |
- Reduce startup overhead by splitting some parts of Log::ger to |
| 217 |
Log::ger::Heavy. When user loads modules that have 'use Log::ger', but |
| 218 |
never adds any outputs (which is a pretty common case when user just |
| 219 |
uses a module without setting up any logging), then we can cheat by |
| 220 |
skipping init_target() and just installs the null, default-named |
| 221 |
logging routines. So we split the part that does real init_target() to |
| 222 |
Log::ger::Heavy, similar to how Carp & Carp::Heavy was split. This |
| 223 |
reduces startup overhead significantly. When user loads Log::ger::Util |
| 224 |
(e.g. to run set_plugin()) or when some hooks are added, then we load |
| 225 |
Log::ger::Heavy. |
| 226 |
|
| 227 |
|
| 228 |
0.015 2017-07-12 Released-By: PERLANCAR |
| 229 |
|
| 230 |
- [Bugfix] Used the wrong key to get per-object hooks. |
| 231 |
|
| 232 |
|
| 233 |
0.014 2017-07-11 Released-By: PERLANCAR |
| 234 |
|
| 235 |
- Pass 'formatters' and 'layouter' arguments to |
| 236 |
before_install_routines hook. |
| 237 |
|
| 238 |
|
| 239 |
0.013 2017-07-11 Released-By: PERLANCAR |
| 240 |
|
| 241 |
- Allow multiple formatters. |
| 242 |
|
| 243 |
|
| 244 |
0.012 2017-07-02 Released-By: PERLANCAR |
| 245 |
|
| 246 |
- [optimize] init_target: Reuse multilevel log routine from hook |
| 247 |
for log routines of all levels. |
| 248 |
|
| 249 |
- [Bugfix] Fix string level passed to layouter when logger is a |
| 250 |
multilevel logger. |
| 251 |
|
| 252 |
|
| 253 |
0.011 2017-06-30 Released-By: PERLANCAR; Backward-Incompatible: yes |
| 254 |
|
| 255 |
- [Incompatible change] In hook argument "routines", change $flags to |
| 256 |
$type to be more general. The value can be 'log_sub', 'log_method', |
| 257 |
'logml_sub', 'logml_method', 'is_sub', 'is_method'. |
| 258 |
|
| 259 |
- Support multilevel log statement log($level, ...) by using |
| 260 |
LGP:MultilevelLog (included in core distribution). |
| 261 |
|
| 262 |
- [Internal] Introduce phase 'create_logml_routine'. |
| 263 |
|
| 264 |
- [Test] Add test for LG:Format::None. |
| 265 |
|
| 266 |
- [Bugfix] reinit_target() didn't find the correct hash key. |
| 267 |
|
| 268 |
|
| 269 |
0.010 2017-06-28 Released-By: PERLANCAR |
| 270 |
|
| 271 |
- [Bugfix] Don't install log methods to package (vice versa, don't |
| 272 |
install log subroutines to object package). |
| 273 |
|
| 274 |
- [doc] Remove mention of filter. |
| 275 |
|
| 276 |
|
| 277 |
0.009 2017-06-28 Released-By: PERLANCAR |
| 278 |
|
| 279 |
- Remove Log::ger::Filter and 'create_filter' phase because they are |
| 280 |
unused. |
| 281 |
|
| 282 |
- Add Layout. |
| 283 |
|
| 284 |
- Add formatter: None. |
| 285 |
|
| 286 |
|
| 287 |
0.008 2017-06-26 Released-By: PERLANCAR |
| 288 |
|
| 289 |
- Util: Add string_level(). |
| 290 |
|
| 291 |
|
| 292 |
0.007 2017-06-25 Released-By: PERLANCAR |
| 293 |
|
| 294 |
- Add custom level test. |
| 295 |
|
| 296 |
- Add output: Array. |
| 297 |
|
| 298 |
|
| 299 |
0.006 2017-06-24 Released-By: PERLANCAR |
| 300 |
|
| 301 |
- [Bugfix] Use the correct package when initializing object. |
| 302 |
|
| 303 |
|
| 304 |
0.005 2017-06-23 Released-By: PERLANCAR; Backward-Incompatible: yes |
| 305 |
|
| 306 |
- [Incompatible change] Another round of internal refactoring and |
| 307 |
interface changes. New: Log::ger::{Plugin,Format,Filter}. Every plugin |
| 308 |
(including filter, format, output) can be set on a per-target basis or |
| 309 |
globally. The term 'hooks' is in again. Add 'create_routine_names' |
| 310 |
phase. Remove 'after_create_log_routine', |
| 311 |
'after_create_log_is_routine'. Move FAQ & internals doc to |
| 312 |
Log-ger-Manual dist. |
| 313 |
|
| 314 |
|
| 315 |
0.004 2017-06-21 Released-By: PERLANCAR |
| 316 |
|
| 317 |
- [Bugfix] Log::ger::Output didn't have VERSION. |
| 318 |
|
| 319 |
|
| 320 |
0.003 2017-06-21 Released-By: PERLANCAR |
| 321 |
|
| 322 |
- Split Log::ger::Output::Screen to its own dist so this dist can be |
| 323 |
more minimalist and that module can be tested e.g. with Capture::Tiny |
| 324 |
etc. |
| 325 |
|
| 326 |
- String output: add option append_newline to allow disable |
| 327 |
appending newline. |
| 328 |
|
| 329 |
- import(): No need to turn category 'Foo::Bar' -> 'foo.bar'. |
| 330 |
|
| 331 |
- [doc] Update module name Log::ger::LogAny -> Log::ger::Output::LogAny. |
| 332 |
|
| 333 |
|
| 334 |
0.002 2017-06-21 Released-By: PERLANCAR; Backward-Incompatible: yes |
| 335 |
|
| 336 |
- [Incompatible change] Reorganize internals & fix a couple of doc |
| 337 |
typos. |
| 338 |
|
| 339 |
- Add outputs: Null, String (mainly for testing). |
| 340 |
|
| 341 |
- Formatter: format undef as '<undef>' like in Log::Any. |
| 342 |
|
| 343 |
- Screen output: Add hooks for |
| 344 |
Progress::Any::Output::TermProgressBarColor, like in |
| 345 |
Log::Any::Adapter::Screen. |
| 346 |
|
| 347 |
- Add some tests. |
| 348 |
|
| 349 |
|
| 350 |
0.001 2017-06-19 Released-By: PERLANCAR |
| 351 |
|
| 352 |
- First release. |