warn

Writes a warn log message.

  1. void warn(string msg, Exception exception, string moduleName, string functionName, string fileName, size_t lineNumber)
    void
    warn
    (
    string msg
    ,
    Exception exception = null
    ,
    string moduleName = __MODULE__
    ,
    string functionName = __PRETTY_FUNCTION__
    ,
    string fileName = __FILE__
    ,
    size_t lineNumber = __LINE__
    )
  2. void warn(Exception exception, string moduleName, string functionName, string fileName, size_t lineNumber)

Parameters

msg string

The message.

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.