From a4d4aaa15dbe5d4c050049186c6d4b762dfa52fb Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 6 Jun 2019 16:07:14 +0200 Subject: [PATCH] =?utf8?q?LXDebug:=20fix=20level2string=20f=C3=BCr=20diver?= =?utf8?q?se=20Level,=20inklusive=20WARN()?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/LXDebug.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.20.1