logF

Writes a formatted log message.

void
logF
(
string fmt
T...
)
(,,
Exception exception = null
,
string moduleName = __MODULE__
,
string functionName = __PRETTY_FUNCTION__
,
string fileName = __FILE__
,
size_t lineNumber = __LINE__
)

Parameters

level Level

The logging level.

args T

The arguments to provide to the format string.

exception Exception

An optional exception to log.

moduleName string

The name of the module where this log message was written.

functionName string

The name of the function where this log message was written.

fileName string

The name of the source file where this log message was written.

lineNumber size_t

The line number where this log message was written.