projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4aa4389
)
LXDebug: fix level2string für diverse Level, inklusive WARN()
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 6 Jun 2019 14:07:14 +0000
(16:07 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 6 Jun 2019 14:09:22 +0000
(16:09 +0200)
SL/LXDebug.pm
patch
|
blob
|
history
diff --git
a/SL/LXDebug.pm
b/SL/LXDebug.pm
index
28a36bf
..
6b27b0a
100644
(file)
--- 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 {