|
proxygen
|
Go to the source code of this file.
Namespaces | |
| folly | |
| —— Concurrent Priority Queue Implementation —— | |
Macros | |
| #define | FB_LOGC(logger, level, fmt, ...) FB_LOG(logger, level, ::folly::loggingFormatPrintf(fmt, ##__VA_ARGS__)) |
| #define | XLOGC(level, fmt, ...) |
| #define | XLOGC_IF(level, cond, fmt, ...) |
Functions | |
| std::string | folly::loggingFormatPrintf (FOLLY_PRINTF_FORMAT const char *format,...) noexcept FOLLY_PRINTF_FORMAT_ATTR(1 |
| #define FB_LOGC | ( | logger, | |
| level, | |||
| fmt, | |||
| ... | |||
| ) | FB_LOG(logger, level, ::folly::loggingFormatPrintf(fmt, ##__VA_ARGS__)) |
| #define XLOGC | ( | level, | |
| fmt, | |||
| ... | |||
| ) |
Log a message to the file's default log category using a printf-style format string.
Definition at line 50 of file printf.h.
Referenced by TEST().
| #define XLOGC_IF | ( | level, | |
| cond, | |||
| fmt, | |||
| ... | |||
| ) |
Log a message using a printf-style format string if and only if the specified condition predicate evaluates to true. Note that the condition is only evaluated if the log-level check passes.
Definition at line 61 of file printf.h.
Referenced by TEST().