Go to the source code of this file.
|
| #define | FML_LOG_STREAM(severity) ::fml::LogMessage(::fml::LOG_##severity, __FILE__, __LINE__, nullptr).stream() |
| |
| #define | FML_LAZY_STREAM(stream, condition) !(condition) ? (void)0 : ::fml::LogMessageVoidify() & (stream) |
| |
| #define | FML_EAT_STREAM_PARAMETERS(ignored) |
| |
| #define | FML_LOG_IS_ON(severity) (::fml::ShouldCreateLogMessageConstexpr(::fml::LOG_##severity, true)) |
| |
| #define | FML_LOG(severity) FML_LAZY_STREAM(FML_LOG_STREAM(severity), FML_LOG_IS_ON(severity)) |
| |
| #define | FML_CHECK(condition) |
| |
| #define | FML_VLOG_IS_ON(verbose_level) ((verbose_level) <= ::fml::GetVlogVerbosity()) |
| |
| #define | FML_VLOG_STREAM(verbose_level) ::fml::LogMessage(-verbose_level, __FILE__, __LINE__, nullptr).stream() |
| |
| #define | FML_VLOG(verbose_level) FML_LAZY_STREAM(FML_VLOG_STREAM(verbose_level), FML_VLOG_IS_ON(verbose_level)) |
| |
| #define | FML_DLOG(severity) FML_LOG(severity) |
| |
| #define | FML_DCHECK(condition) FML_CHECK(condition) |
| |
| #define | FML_UNREACHABLE() |
| |
◆ FML_CHECK
| #define FML_CHECK |
( |
|
condition | ) |
|
Value:
.stream(), \
!(condition))
#define FML_LAZY_STREAM(stream, condition)
constexpr LogSeverity kLogFatal
Definition at line 104 of file logging.h.
128 { \
129 FML_LOG(ERROR) << "Reached unreachable code."; \
130 ::fml::KillProcessConstexpr(true); \
131 }
132
133#endif
◆ FML_DCHECK
| #define FML_DCHECK |
( |
|
condition | ) |
FML_CHECK(condition) |
◆ FML_DLOG
| #define FML_DLOG |
( |
|
severity | ) |
FML_LOG(severity) |
◆ FML_EAT_STREAM_PARAMETERS
| #define FML_EAT_STREAM_PARAMETERS |
( |
|
ignored | ) |
|
Value: true || (ignored) \
? (void)0 \
Definition at line 92 of file logging.h.
◆ FML_LAZY_STREAM
◆ FML_LOG
◆ FML_LOG_IS_ON
◆ FML_LOG_STREAM
| #define FML_LOG_STREAM |
( |
|
severity | ) |
::fml::LogMessage(::fml::LOG_##severity, __FILE__, __LINE__, nullptr).stream() |
◆ FML_UNREACHABLE
| #define FML_UNREACHABLE |
( |
| ) |
|
Value: { \
FML_LOG(ERROR) << "Reached unreachable code."; \
::fml::KillProcessConstexpr(true); \
}
Definition at line 128 of file logging.h.
129 { \
130 FML_LOG(ERROR) << "Reached unreachable code."; \
131 ::fml::KillProcessConstexpr(true); \
132 }
◆ FML_VLOG
◆ FML_VLOG_IS_ON
◆ FML_VLOG_STREAM
| #define FML_VLOG_STREAM |
( |
|
verbose_level | ) |
::fml::LogMessage(-verbose_level, __FILE__, __LINE__, nullptr).stream() |