From 7de1491136d15c9809b4aaf444c08cafeadaa1dc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 18 Dec 2009 10:48:11 +0100 Subject: [PATCH] Bugs: tracing Funktionen liefen auf instance->{level} und nicht auf $global_level --- SL/LXDebug.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SL/LXDebug.pm b/SL/LXDebug.pm index 059e0ca5e..f9dfa9836 100644 --- 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 { -- 2.20.1