carb::logging::LogFn

Defined in carb/logging/ILogging.h

typedef void (*carb::logging::LogFn)(const char *source, int32_t level, const char *fileName, const char *functionName, int lineNumber, const char *fmt, ...)

Function pointer typedef for a logging function.

Note

Typically this is not used directly. It exists solely for g_carbLogFn and represents the type of carb::logging::ILogging::log().

Param source

The log source (typically client or plugin)

Param level

The log level, such as kLevelInfo

Param fileName

The name of the source file that generated the log message (typically from __FILE__)

Param functionName

The name of the source function that generated the log message (such as via CARB_PRETTY_FUNCTION)

Param lineNumber

The line number of filename that generated the log message (typically from __LINE__)

Param fmt

A printf format string

Param …

varargs for fmt