From: Moritz Bunkus Date: Thu, 6 Jun 2019 14:07:14 +0000 (+0200) Subject: LXDebug: fix level2string für diverse Level, inklusive WARN() X-Git-Tag: release-3.5.4~55 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=a4d4aaa15dbe5d4c050049186c6d4b762dfa52fb;p=kivitendo-erp.git LXDebug: fix level2string für diverse Level, inklusive WARN() --- diff --git a/SL/LXDebug.pm b/SL/LXDebug.pm index 28a36bfff..6b27b0a77 100644 --- a/SL/LXDebug.pm +++ b/SL/LXDebug.pm @@ -325,7 +325,7 @@ sub _write_raw { sub level2string { no warnings; # use $_[0] as a bit mask and return levelstrings separated by / - join '/', qw(info debug1 debug2 query trace error_call_trace request_timer WARNING)[ grep { (reverse split //, sprintf "%08b", $_[0])[$_] } 0..7 ] + join '/', qw(info debug1 debug2 query trace error_call_trace request_timer request WARNING trace2 show_caller)[ grep { (reverse split //, sprintf "%011b", $_[0])[$_] } 0..11 ] } sub begin_request {