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

Name

Description

logger

The logger identifying the log category.

level

A qualified folly::LogLevel value or variable.

filename

The source filename to record.

line

The source line number to record.

functionName

The function name to record.

type

The LogStreamProcessor append or format mode.

Created with MrDocs