logf

fnvoid logf(int line = __LINE__, string file = __FILE__, string funcName = __FUNCTION__, string prettyFuncName = __PRETTY_FUNCTION__, string moduleName = __MODULE__, A...)(const LogLevel ll, lazy bool condition, lazy string msg, lazy A args)

This function logs data in a printf-style manner.

In order for the data to be processed the LogLevel of the log call must be greater or equal to the LogLevel of the sharedLog and the defaultLogLevel additionally the condition passed must be true.

Parameters

llThe LogLevel used by this log call.
conditionThe condition must be true for the data to be logged.
msgThe printf-style string.
argsThe data that should be logged. Example: -------------------- logf(LogLevel.warning, true, "Hello World %f", 3.1415); --------------------
fnvoid logf(int line = __LINE__, string file = __FILE__, string funcName = __FUNCTION__, string prettyFuncName = __PRETTY_FUNCTION__, string moduleName = __MODULE__, A...)(const LogLevel ll, lazy string msg, lazy A args)

This function logs data in a printf-style manner.

In order for the data to be processed the LogLevel of the log call must be greater or equal to the LogLevel of the sharedLog and the defaultLogLevel.

Parameters

llThe LogLevel used by this log call.
msgThe printf-style string.
argsThe data that should be logged. Example: -------------------- logf(LogLevel.warning, "Hello World %f", 3.1415); --------------------
fnvoid logf(int line = __LINE__, string file = __FILE__, string funcName = __FUNCTION__, string prettyFuncName = __PRETTY_FUNCTION__, string moduleName = __MODULE__, A...)(lazy bool condition, lazy string msg, lazy A args)

This function logs data in a printf-style manner.

In order for the data to be processed the LogLevel of the log call must be greater or equal to the defaultLogLevel additionally the condition passed must be true.

Parameters

conditionThe condition must be true for the data to be logged.
msgThe printf-style string.
argsThe data that should be logged. Example: -------------------- logf(true, "Hello World %f", 3.1415); --------------------
fnvoid logf(int line = __LINE__, string file = __FILE__, string funcName = __FUNCTION__, string prettyFuncName = __PRETTY_FUNCTION__, string moduleName = __MODULE__, A...)(lazy string msg, lazy A args)

This function logs data in a printf-style manner.

In order for the data to be processed the LogLevel of the log call must be greater or equal to the defaultLogLevel.

Parameters

msgThe printf-style string.
argsThe data that should be logged. Example: -------------------- logf("Hello World %f", 3.1415); --------------------