KamelosoLogger.printfImpl

Prints a timestamped log message to screen as per the passed compile-time pattern, in printf style. Implementation function.

Uses formattedWrite to coerce the passed arguments as the format pattern dictates.

  1. void printfImpl(LogLevel logLevel, string pattern, Args args)
  2. void printfImpl(LogLevel logLevel, Args args)
    class KamelosoLogger
    private
    void
    printfImpl
    (
    string pattern
    Args...
    )
    (,
    auto ref Args args
    )

Parameters

pattern

Compile-time pattern to validate the arguments and format the output with.

logLevel LogLevel

The LogLevel to treat this message as being of.

args Args

Variadic arguments to compose the output message with.