yiguolei commented on code in PR #20326:
URL: https://github.com/apache/doris/pull/20326#discussion_r1213989202


##########
be/src/util/trace.h:
##########
@@ -51,17 +51,21 @@ class Trace;
 // See Trace::SubstituteAndTrace for arguments.
 // Example:
 //  TRACE("Acquired timestamp $0", timestamp);
-#define TRACE(format, substitutions...)                                        
        \
-    do {                                                                       
        \
-        doris::Trace* _trace = doris::Trace::CurrentTrace();                   
        \
-        if (_trace) {                                                          
        \
-            _trace->SubstituteAndTrace(__FILE__, __LINE__, (format), 
##substitutions); \
-        }                                                                      
        \
-    } while (0)
+#define TRACE(format)                                                 \

Review Comment:
   直接删了吧,意义不大了



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to