Common Logging 2.0 API Reference

ILog.Trace(Object, Exception) Method

Log a message object with the Trace level including the stack trace of the Exception passed as a parameter.

[Visual Basic]
Public Sub Trace( _
   ByVal message As Object, _
   ByVal exception As Exception _
)
[C#]
void Trace(
   object message,
   Exception exception
);

Parameters

message
The message object to log.
exception
The exception to log, including its stack trace.

See Also

ILog Interface | Common.Logging Namespace | ILog.Trace Overload List