log

fnvoid log(int line = __LINE__, string file = __FILE__, string funcName = __FUNCTION__, string prettyFuncName = __PRETTY_FUNCTION__, string moduleName = __MODULE__, A...)(const LogLevel ll, lazy bool condition, lazy A args) if (args.length != 1)

This function logs data.

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.
argsThe data that should be logged. Example: -------------------- log(LogLevel.warning, true, "Hello World", 3.1415); --------------------
fnvoid log(T, string moduleName = __MODULE__)(const LogLevel ll, lazy bool condition, lazy T arg, int line = __LINE__, string file = __FILE__, string funcName = __FUNCTION__, string prettyFuncName = __PRETTY_FUNCTION__)

Ditto

fnvoid log(int line = __LINE__, string file = __FILE__, string funcName = __FUNCTION__, string prettyFuncName = __PRETTY_FUNCTION__, string moduleName = __MODULE__, A...)(const LogLevel ll, lazy A args) if (args.length > 1 && !is(Unqual!(A[0]) : bool))

This function logs data.

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.

Parameters

llThe LogLevel used by this log call.
argsThe data that should be logged. Example: -------------------- log(LogLevel.warning, "Hello World", 3.1415); --------------------
fnvoid log(T, string moduleName = __MODULE__)(const LogLevel ll, lazy T arg, int line = __LINE__, string file = __FILE__, string funcName = __FUNCTION__, string prettyFuncName = __PRETTY_FUNCTION__)

Ditto

fnvoid log(int line = __LINE__, string file = __FILE__, string funcName = __FUNCTION__, string prettyFuncName = __PRETTY_FUNCTION__, string moduleName = __MODULE__, A...)(lazy bool condition, lazy A args) if (args.length != 1)

This function logs data.

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

Parameters

conditionThe condition must be true for the data to be logged.
argsThe data that should be logged. Example: -------------------- log(true, "Hello World", 3.1415); --------------------
fnvoid log(T, string moduleName = __MODULE__)(lazy bool condition, lazy T arg, int line = __LINE__, string file = __FILE__, string funcName = __FUNCTION__, string prettyFuncName = __PRETTY_FUNCTION__)

Ditto

fnvoid log(int line = __LINE__, string file = __FILE__, string funcName = __FUNCTION__, string prettyFuncName = __PRETTY_FUNCTION__, string moduleName = __MODULE__, A...)(lazy A args) if ((args.length > 1 && !is(Unqual!(A[0]) : bool) && !is(Unqual!(A[0]) == LogLevel)) || args.length == 0)

This function logs data.

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

Parameters

argsThe data that should be logged. Example: -------------------- log("Hello World", 3.1415); --------------------
fnvoid log(T)(lazy T arg, int line = __LINE__, string file = __FILE__, string funcName = __FUNCTION__, string prettyFuncName = __PRETTY_FUNCTION__, string moduleName = __MODULE__)
No documentation available for this declaration.