'Declaration
Sub Write( _ ByVal severity As LogMessageSeverity, _ ByVal skipFrames As Integer, _ ByVal exception As Exception, _ ByVal detailsXml As String, _ ByVal category As String, _ ByVal caption As String, _ ByVal description As String, _ ByVal ParamArray args() As Object _ )
void Write( LogMessageSeverity severity, int skipFrames, Exception exception, string detailsXml, string category, string caption, string description, params object[] args )
Parameters
- severity
- The log message severity.
- skipFrames
- The number of stack frames to skip back over to determine the original caller. (0 means the immediate caller of this method; 1 means their immediate caller, and so on.)
- exception
- An Exception object to attach to this log message.
- detailsXml
- An XML document (as a string) with extended details about the message. (May be null.)
- category
- The application subsystem or logging category that the log message is associated with, which supports a dot-delimited hierarchy.
- caption
- A simple single-line message caption. (Will not be processed for formatting.)
- description
- Additional multi-line descriptive message (or may be null) which can be a format string followed by corresponding arguments.
- args
- A variable number of arguments referenced by the formatted description string (or no arguments to skip formatting).