]> dxcluster.net Git - spider.git/commitdiff
reduce ring buffer output on carp/cluck in DXDebug
authorDirk Koopman <djk@tobit.co.uk>
Fri, 3 Mar 2023 13:10:43 +0000 (13:10 +0000)
committerDirk Koopman <djk@tobit.co.uk>
Fri, 3 Mar 2023 13:10:43 +0000 (13:10 +0000)
perl/DXDebug.pm

index a3e06c4d969ed2528bd07b6fcd06da968517578b..f249282e5b57e5d69399de8ece3cde3d5e1763f6 100644 (file)
@@ -69,12 +69,12 @@ if (!defined $DB::VERSION) {
                exit(-1); 
        }
        sub carp { 
-        DXDebug::dbgprintring(25) if DXDebug::isdbg('nologchan');
+        DXDebug::dbgprintring(5) if DXDebug::isdbg('nologchan');
 #        DXDebug::dbg(Carp::shortmess(\@_)); 
         DXDebug::longmess(\@_);
     }
        sub cluck { 
-        DXDebug::dbgprintring(25) if DXDebug::isdbg('nologchan');
+        DXDebug::dbgprintring(5) if DXDebug::isdbg('nologchan');
 #        DXDebug::dbg(Carp::longmess(\@_)); 
         DXDebug::longmess(\@_);
     } );