FB_LOG_RAW_IMPL

Helper macro for implementing FB_LOG_RAW() and FB_LOGF_RAW().

Synopsis

Declared in <folly/logging/Logger.h>

#define FB_LOG_RAW_IMPL(logger, level, filename, line, functionName, type, ...)

Description

This macro generally should not be used directly by end users.

This is very similar to FB_LOG_IMPL(), but since the level may be a variable instead of a compile-time constant, we cannot detect at compile time if this is a fatal log message or not.

Parameters

NameDescription
loggerThe logger identifying the log category.
levelA qualified folly::LogLevel value or variable.
filenameThe source filename to record.
lineThe source line number to record.
functionNameThe function name to record.
typeThe LogStreamProcessor append or format mode.