Log a message to the specified logger.

Synopsis

Declared in <folly/logging/Logger.h>

#define FB_LOG(logger, level, …​)

Description

This macro avoids evaluating the log arguments unless the log level check succeeds.

Beware that the logger argument is evaluated twice, so this argument should be an expression with no side‐effects.

Parameters

Name

Description

logger

The logger identifying the log category.

level

The unqualified folly::LogLevel name.

Created with MrDocs