Click or drag to resize

Log Methods

The Log type exposes the following members.

Methods
  NameDescription
Public methodCloseLog
Closes the log file and log object.
Public methodWrite(String)
Writes the specified string message to the log file.
Public methodWrite(Int32, String)
Writes the specified string message to the log file and assigns a numeric log level.
Public methodWrite(String, Object)
Writes the specified StringObj message to the log file.
Public methodWrite(Int32, String, Object)
Writes the specified string message to the log file with parameters and a log level.
Public methodWriteException(Exception, String)
Writes a message to the log with additional information from the supplied exception.
Public methodWriteException(Exception, String, Object)
Writes a message to the log with additional information from the supplied exception along with additional parameters.
Public methodWriteException(Int32, Exception, String)
Writes a message to the log with additional information from the supplied exceptionand assign a log level.
Public methodWriteException(Int32, Exception, String, Object)
Writes a message to the log with additional information from the supplied exception along with a log level and parameters.
Public methodWriteWithFrame(String)
Write a message to the log file and includes the stack frame.
Public methodWriteWithFrame(Int32, String)
Write a message to the log file and includes the stack frame including assigning a log level.
Public methodWriteWithId(String, String, Object)
Writes a message with a user specified identifier preceeding the message, usually channel name or thread id.
Public methodWriteWithId(Int32, String, String, Object)
Writes a message with a user specified identifier preceeding the message, usually channel name or thread id. Also includes an assigned log level.
Top
See Also