Home | History | Annotate | Download | only in base

Lines Matching refs:NullStream

255 #define COMPACT_GOOGLE_LOG_INFO NullStream()
256 #define LOG_TO_STRING_INFO(message) NullStream()
264 #define COMPACT_GOOGLE_LOG_WARNING NullStream()
265 #define LOG_TO_STRING_WARNING(message) NullStream()
273 #define COMPACT_GOOGLE_LOG_ERROR NullStream()
274 #define LOG_TO_STRING_ERROR(message) NullStream()
1366 class NullStream : public LogMessage::LogStream {
1370 // NullStream& is implicitly converted to LogStream&, in which case
1371 // the overloaded NullStream::operator<< will not be invoked.
1372 NullStream() : LogMessage::LogStream(message_buffer_, 1, 0) { }
1373 NullStream(const char* /*file*/, int /*line*/,
1376 NullStream &stream() { return *this; }
1379 // will be needed if NullStream& converted to LogStream& (e.g. as a
1387 // SKIP_LOG=WARNING. In those cases, NullStream will be implicitly
1391 inline NullStream& operator<<(NullStream &str, const T &value) { return str; }
1393 // Similar to NullStream, but aborts the program (without stack
1395 class NullStreamFatal : public NullStream {
1399 NullStream(file, line, result) { }