Fix condition in assert
This commit is contained in:
parent
a73227f7c1
commit
fa70b885fe
|
@ -431,8 +431,8 @@ public:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void log(int severity, const char* name, UID id, uint64_t event_ts) {
|
void logMetrics(int severity, const char* name, UID id, uint64_t event_ts) {
|
||||||
ASSERT(TraceEvent::isNetworkThread() && !logTraceEventMetrics);
|
ASSERT(TraceEvent::isNetworkThread() && logTraceEventMetrics);
|
||||||
|
|
||||||
EventMetricHandle<TraceEventNameID>* m = nullptr;
|
EventMetricHandle<TraceEventNameID>* m = nullptr;
|
||||||
switch (severity) {
|
switch (severity) {
|
||||||
|
|
Loading…
Reference in New Issue