Fix condition in assert

This commit is contained in:
A.J. Beamon 2023-05-22 16:05:05 -07:00 committed by Xiaoge Su
parent a73227f7c1
commit fa70b885fe
1 changed files with 2 additions and 2 deletions

View File

@ -431,8 +431,8 @@ public:
}
}
void log(int severity, const char* name, UID id, uint64_t event_ts) {
ASSERT(TraceEvent::isNetworkThread() && !logTraceEventMetrics);
void logMetrics(int severity, const char* name, UID id, uint64_t event_ts) {
ASSERT(TraceEvent::isNetworkThread() && logTraceEventMetrics);
EventMetricHandle<TraceEventNameID>* m = nullptr;
switch (severity) {