Struct NullStream (2.34.0)

Implements operator<< for all types, without any effect.

It is desirable to disable at compile-time tracing, debugging, and other low severity messages. The Google Cloud Platform C++ Libraries logging adaptors return an object of this class when the particular log-line is disabled at compile-time.

Operators

operator<<(T)

Generic do-nothing streaming operator.

Parameters
Name
Description
T
typename T

Returns
Type
Description
NullStream &
Create a Mobile Website
View Site in Mobile | Classic
Share by: