trace

Writes an exception trace log message.

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

Parameters

exception Exception

The 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.