LogBuilder.log

Builds the log message and adds it to the logger associated with this builder, and adds source context information using default function arguments.

struct LogBuilder
void
log
(
string moduleName = __MODULE__
,
string functionName = __PRETTY_FUNCTION__
,
string fileName = __FILE__
,
size_t lineNumber = __LINE__
)

Parameters

moduleName string

The name of the module. This will resolve to the current module name by default.

functionName string

The name of the function. This will resolve to the current function name by default.

fileName string

The name of the source file. This will resolve to the current source file by default.

lineNumber size_t

The line number in the source file. This will resolve to the current source file's line number by default.