Revision a4d4aaa1
Von Moritz Bunkus vor mehr als 5 Jahren hinzugefügt
SL/LXDebug.pm | ||
---|---|---|
325 | 325 |
sub level2string { |
326 | 326 |
no warnings; |
327 | 327 |
# use $_[0] as a bit mask and return levelstrings separated by / |
328 |
join '/', qw(info debug1 debug2 query trace error_call_trace request_timer WARNING)[ grep { (reverse split //, sprintf "%08b", $_[0])[$_] } 0..7 ]
|
|
328 |
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 ]
|
|
329 | 329 |
} |
330 | 330 |
|
331 | 331 |
sub begin_request { |
Auch abrufbar als: Unified diff
LXDebug: fix level2string für diverse Level, inklusive WARN