X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=blobdiff_plain;f=folly%2Fexperimental%2Flogging%2FLogStreamProcessor.cpp;h=84c8e0d6882e49ee23cf890784f889690fcd724a;hp=e70df787fa8e3af2522196b3e4c03f3e5abd949e;hb=5086391b848c323f58920b349937b9f91f92a6be;hpb=dc2c2837d095c9d3a5407e939a88b982ba37858a diff --git a/folly/experimental/logging/LogStreamProcessor.cpp b/folly/experimental/logging/LogStreamProcessor.cpp index e70df787..84c8e0d6 100644 --- a/folly/experimental/logging/LogStreamProcessor.cpp +++ b/folly/experimental/logging/LogStreamProcessor.cpp @@ -42,7 +42,7 @@ void LogStreamProcessor::operator&(LogStream&& stream) noexcept { // no streaming arguments were supplied to the logging macro. // Therefore we don't bother calling extractMessageString(stream), // and just directly use message_. - assert(stream.empty()); + DCHECK(stream.empty()); category_->processMessage(LogMessage{ category_, level_, filename_, lineNumber_, std::move(message_)});