Home | History | Annotate | Download | only in glog

Lines Matching refs:condition

47 // CHECK(condition) - fails if condition is false and logs condition.
258 // Log only if condition is met. Otherwise evaluates to void.
259 #define LOG_IF(severity, condition) \
260 !(condition) ? (void) 0 : LoggerVoidify() & \
263 // Log only if condition is NOT met. Otherwise evaluates to void.
264 #define LOG_IF_FALSE(severity, condition) LOG_IF(severity, !(condition))
304 // Check for a given boolean condition.
305 #define CHECK(condition) LOG_IF_FALSE(FATAL, condition) \
306 << "Check failed: " #condition " "
310 #define DCHECK(condition) LOG_IF_FALSE(FATAL, condition) \
311 << "Check failed: " #condition " "
314 #define DCHECK(condition) if (false) LOG_IF_FALSE(FATAL, condition) \
315 << "Check failed: " #condition " "