Log-Report
view release on metacpan or search on metacpan
- ::Exception::isFatal() did not respect the is_fatal overrule.
Spotted by [Andy Berverley]
version 1.33: Sat Jul 17 10:56:52 CEST 2021
Changes:
- the $@->died with always return the original die causing object or
string. In most cases, you want to use $@->wasFatal, which is the
translated (hence compatible) ::Exception object. [Andy Beverley]
version 1.32: Tue 26 Jan 09:13:31 CET 2021
Fixes:
- ::Dancer2, use correct VERSION, github issue#3
- ::Dancer2, fix stacktrace sent to browser with show_errors disabled
by [Andy Beverley], github issue#7
version 1.31: Fri 15 Jan 16:35:39 CET 2021
Fixes:
- another attempt on issue #6, exceptions with specific destination
are not caught by ::Try
- previous release broke ::Try::hide() [Andy Beverley]
version 1.30: Fri 15 Jan 12:46:14 CET 2021
Fixes:
- recursive errors when file cannot be written for ::File dispatcher
github issue#4 [Tom Hukins]
- exceptions with specific destination are not caught by ::Try
github issue#6 [Andy Beverley]
- redirected exception messages forget their explicit dispatcher
destination. Github issue#6
Improvements:
- use ::Util::expand_reasons() for ::Try::hide()
- require Log::Report::Options 1.07 for more expand_reasons options
version 1.29: Fri 8 Nov 09:18:01 CET 2019
Fixes:
- error code changed from libxml2 2.9.9 to 2.9.10
rt.cpan.org#130934 [Petr Pisar]
Improvements:
- skip tests with error messages for Haiku, because they are quite
different. [cpantesters]
version 1.28: Tue 14 May 09:27:50 CEST 2019
- fatal exception not always the last in try() block.
version 1.27: Fri 1 Jun 10:00:10 CEST 2018
Fixes:
- fix metadata [Mohammad S Anwar]
Improvements:
- Dancer2 add custom fatal handlers [Andrew Beverley]
version 1.26: Tue Jan 23 23:45:55 CET 2018
Improvements:
- convert to GIT
- publish via GitHUB
version 1.25: Fri 8 Dec 09:18:23 CET 2017
Fixes:
- $msg->tostring on append/prepend object lost $locale.
version 1.24: Fri 8 Dec 09:10:18 CET 2017
Fixes:
- $msg->toString should stringify when append/prepend are objects.
rt.cpan.org#123835 [Andy Beverley]
Improvements:
- Log4perl dispatcher: do accept init of Log::Log4perl outside the
dispatcher [Abe Timmerman]
version 1.23: Thu 2 Nov 10:40:24 CET 2017
Improvements:
- understand objects in report() rt.cpan.org #123241 [Andy Beverley]
- understand DBIx::Class::Exception in try{}
- understand XML::LibXML::Error in try{}
version 1.22: Thu 12 Oct 12:18:54 CEST 2017
Improvements:
- try() also collects DEBUG info when one of the dispatches wants it.
- formatter PRINTP cannot be used, remove docs which tell that
- exceptions triggered translation too often
Improvements:
- add textdomain($name, 'EXISTS')
- add textdomain($domain_object);
- short-cut when translating without context
- use String::Print::printi() to interpolate: that code was forked-off
earlier, and now mature.
version 1.19: Thu 9 Feb 17:35:43 CET 2017
Fixes:
- Dancer2 change when a stack-level needs to be skipped for
reporting the location of the exception [Andrew Beverley]
- more modules optional during Dancer2 tests
Improvements:
- Dancer2 interface changes [Andrew Beverley]
- spell fixes. rt.cpan.org#118561 [Gregor Herrmann, Debian]
- spell fixes. rt.cpan.org#118562 [Gregor Herrmann, Debian]
version 1.14: Tue 12 Apr 15:10:27 CEST 2016
Fixes:
- dancer2: regression test only for recent Dancer2 [cpantesters]
rt.cpan.org#111770 [Riba Sushi]
Improvements:
- typo rt.cpan.org#111985 [Gregor Herrmann, Debian]
- dancer2: treat all exceptions equal [Andrew Beverley]
version 1.13: Wed 3 Feb 11:34:18 CET 2016
Fixes:
- init of lexicon with HASH
rt.cpan.org#111420 [Paulo A Ferreira]
Improvements:
- skip Log::Report wrappers from stacktrace and location.
- added ::Dispatcher::addSkipStack() and ::skipStack()
- add forward_url to Dancer2 plugin example [Andrew Beverley]
- ignore $SIG{__DIE__} within try blocks [Milos Lazarevic]
- dancer2: add regression test for plugin [Andrew Beverley]
- dancer2: add forward_template option [Raj Barath]
version 1.12: Mon Jan 18 21:55:35 CET 2016
Fixes:
- reopen default dispatcher creates a double. [Andrew Beverley]
Improvements:
- remove mode=DEBUG from Dancer2::*
version 1.11: Mon 18 Jan 17:07:43 CET 2016
Fixes:
- warning when log outside sub [Andrew Beverley]
- missing register of fault and failure [Andrew Beverley]
- some module is textdomain logreport, should be log-report.
[Andrew Beverley]
- Dancer2::Logger::LogReport should not set the mode
Improvements:
- dispatcher 'do-not-reopen' does not protect the default
dispatcher [Andrew Beverley]
- produce error when setContext is used while context_rules
are not provided.
- added ::Exception::toHTML() and ::Message::toHTML()
version 1.10: Sat Nov 28 17:39:16 CET 2015
Fixes:
- Dancer2 object build [Andrew Beverley]
- ::Domain::setContext with PAIRS as parameter
- collect stack for exceptions inside try block. [Andrew Beverley]
Improvements:
- keep dispatchers ordered.
- interpolate context setting inside msg_id's as well
- add ::Domain::updateContext()
Fixes:
- float serialization under locale in test [cpantesters]
- non-errors and ::Dispatcher::Perl
Improvements:
- shorted display of string parameters in stack-trace to max 80 chars
- Log4perl log-lines sometimes show dispatcher as source, skip them.
- disable 'mode switch' trace for try()
version 1.02: Mon Mar 10 16:03:13 CET 2014
Fixes:
- add overload fallback to ::Exception and ::Dispatcher
rt.cpan.org#92970 [Lukas Mai]
- ::Domain::new(translator) with HASH did not initialize
- warn better with ::Optional modules are used before Log::Report
is used.
Improvements:
- changed documentation style
- ::Lexicon::Index dir-scan immediately, hopefully before fork()
version 1.01: Mon Jan 6 23:21:37 CET 2014
Fixes:
- LC_MESSAGE missing on Windows [Michael Long]
version 1.00: Sun Jan 5 17:23:44 CET 2014
Split into four components, adding
- String::Print for formatting, permits positionals now
- Log::Report::Optional as base, super lightweight
- Log::Report::Lexicon when you need translations
Changes:
- configuration from ::translator() into ::Domain::configure()
- domains are package bound, not line based.
- removed isValidReason() and isFatal(), there are function in ::Util
Fixes:
- twice path '\' in t/53log4perl.t in Windows [cpantesters]
Fixes:
- link to paper [Richard Still]
- chicken-egg problem with error on illegal mode setting.
Improvements:
- try to build new translation table at each 'make'
version 0.993: Thu Mar 28 10:59:27 CET 2013
Fixes:
- filename/linenumber caller-depth in Log4Perl.
rt.cpan.org#83736 [Dominik Jarmulowicz]
- actually try to use existing mo files.
Improvements:
- use Devel::GlobalDestruction
rt.cpan.org#80612 [Riba Sushi]
- ::Template extractor of translatable strings now understands
[%|loc%]$msgid[%END%] and [%'$msgid'| loc %]
- improvements on documentation.
- move t/30index.t towards xt/30index.t, because the test is
too sensitive for the actual environment.
version 0.992: Fri Dec 21 11:59:55 CET 2012
Improvements:
- add support for msgctxt in po-files to Log::Report::Lexicon::POT*
- new option Log::Report::Lexicon::PO::new(plural_forms)
- new generic base-class Log::Report::Lexicon::Table for
Log::Report::Lexicon::POT*
- ::POT.pm ignores any index when the msgid has no plural form. This
results in a smaller memory foot-print.
- support for MO files, in Log::Report::Lexicon::MOTcompact
version 0.991: Mon Nov 26 09:27:08 CET 2012
Fixes:
- t/50file.t test failed on HASH order [cpantesters]
version 0.99: Wed Oct 3 09:13:58 CEST 2012
Changes:
- do not call overloaded stringification in stack-trace.
- another attempt to silence test for Windows bug.
Improvements:
- additional doc to dispatcher(), triggered by [Patrick Powell]
- add error 'xx', _to => $disp;
as alternative to report {to => $disp}, ERROR => 'xx';
version 0.91: Wed Jan 26 16:24:25 CET 2011
Fixes:
- enabling and disabling dispatchers did not work
[Patrick Powell]
Improvements:
- produce nice error when __x received even length list.
- added Log::Report::Dispatcher::Callback
- typos in new Callback.pm [Patrick Powell]
- disable test which fails on bug in confess on Windows
http://rt.perl.org/rt3/Ticket/Display.html?id=81586
- improved output with new OODoc
version 0.90: Wed Dec 22 16:29:51 CET 2010
Changes:
- ::Exception stringifies with lowercase reason, was uppercase
Fixes:
- repair Log::Report::report(is_fatal) option.
- reimplementation of totalDigits and fractionDigits facets,
version 0.27: Fri May 28 15:37:44 CEST 2010
Fixes:
- turn autoflush on for FILE dispatcher. Found by [Robin V.]
- Test::More 0.95_01 changes is() w.r.t. overloading... broken
tests. rt.cpan.org#57703 [Slaven Rezic]
version 0.26: Mon Feb 15 10:08:23 CET 2010
Changes:
- default of 'syntax' changed from 'REPORT' to 'SHORT'.
Improvements:
- fixes in dispatcher doc "mode" table.
- document use of ::Exception::throw a bit better.
- let try() use dispatcher mode, not to loose trace etc.
- resolve complaint on exit.
Improvements:
- when an empty list has to be expanded, it will show '(none)'
- require Sys::Syslog 0.27
version 0.22: Mon Jan 26 09:05:55 CET 2009
Fixes:
- do not use /bin/pwd in t/pod.t, because it fails on Windows
[Serguei Trouchelle]
- translate long Windows locales into short
rt.cpan.org#41943 [Serguei Trouchelle]
version 0.21: Wed Jan 21 10:31:48 CET 2009
Fixes:
- avoid recursion when locale setting is not understood.
rt.cpan.org#41943 [Serguei Trouchelle]
Improvements:
- add Log::Report::needs() for convenience
version 0.20: Thu Dec 11 14:18:15 CET 2008
Fixes:
- dispatcher does not convert output to a default charset, because
the optimal default cannot be established on most platforms.
version 0.19: Mon Nov 24 12:52:34 CET 2008
Fixes:
- fix for Test::More interface change in 0.86.
- be strict on the character-set of the messages which are
written, by default in UTF-8. (LC_CTYPE for the File
dispatcher if available)
Improvements:
Improvements:
- complain if syntax option has an invalid value.
- use warnings and strict in Win32Locale [cpants]
- dispatcher command on "ALL" defined dispatchers.
- use Log::Report mode => 'something'
version 0.16: Thu Mar 27 11:32:08 CET 2008
Fixes:
- assert, error, and such are functions, but where documented
as being methods.
- xgettext-perl -h did not exit.
- complaints on Windows about prototype mistake when redefining
LC_MESSAGES [Adam Kennedy]
Improvements:
- ::Lexicon::Index::list() got second optional argument, to
filter filenames.
- Silence symlink recursion errors in ::Lexicon::Index
version 0.15: Mon Feb 25 15:36:37 CET 2008
Changes:
- ::Dispatcher::Syslog::new(format_reason) change default to
'IGNORE'.
- warning does not get a line-number/filename. Use alert if
you need those.
Improvements:
to various standards. In SCALAR context, it now returns
more information.
- avoid calling ::Dispatcher::DESTROY during global destruction,
because Perl produces horrible complaints for some releases of
Perl.
- link manual-pages with Text::Catalog (renamed from
Log::Report::View)
version 0.14: Fri Nov 2 15:00:49 CET 2007
Fixes:
- Another syntax error, now using Win32Locale.
via cpantesters [mmusgrove]
- Close DATA handle after reading Win32 locale table.
via cpantesters [mmusgrove]
version 0.13: Mon Oct 29 09:20:04 CET 2007
Fixes:
- Stupid syntax error in the new Win32Locale.
via cpantesters [mmusgrove]
Improvements:
- Log::Report::Dispatchers should now be able to handle
situations where locale_h is not exported by POSIX.
( run in 0.751 second using v1.01-cache-2.11-cpan-49f99fa48dc )