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:
3ac4461
)
Bugs: tracing Funktionen liefen auf instance->{level} und nicht auf $global_level
author
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 18 Dec 2009 09:48:11 +0000
(10:48 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 19 Jul 2010 16:05:59 +0000
(18:05 +0200)
SL/LXDebug.pm
patch
|
blob
|
history
diff --git
a/SL/LXDebug.pm
b/SL/LXDebug.pm
index
059e0ca
..
f9dfa98
100644
(file)
--- a/
SL/LXDebug.pm
+++ b/
SL/LXDebug.pm
@@
-192,17
+192,17
@@
sub dump_sql_result {
sub enable_sub_tracing {
my ($self) = @_;
- $
self->{level} |
TRACE;
+ $
global_level |=
TRACE;
}
sub disable_sub_tracing {
my ($self) = @_;
- $
self->{level} &
~ TRACE;
+ $
global_level &=
~ TRACE;
}
sub is_tracing_enabled {
my ($self) = @_;
- return $
self->{level}
& TRACE;
+ return $
global_level
& TRACE;
}
sub _write {