Namespace for utility functions that simplify logger‐manager usage.

Synopsis

Declared in <ball_log.h>

struct Log;

Description

This struct provides a namespace for a suite of utility functions that simplify usage of the ball_loggermanager component. The direct use of these utility functions is strongly discouraged.

Static Member Functions

Name

Description

categoryHolderIfEnabled

Return the specified categoryHolder if the severity warrants logging according to the specified t_SEVERITY and categoryHolder, and 0 otherwise.

format

Format a printf‐style message into the specified buffer.

getRecord

Return a modifiable record with the specified file and line.

isCategoryEnabled

Return whether logging is enabled for the category at the severity.

logMessage

logMessage overloads

obtainMessageBuffer

obtainMessageBuffer overloads

releaseMessageBuffer

Unlock the mutex that guards this thread's message buffer.

setCategory

setCategory overloads

setCategoryHierarchically

setCategoryHierarchically overloads

Created with MrDocs