The TraceLogger type exposes the following members.

Constructors

  NameDescription
Public methodTraceLogger()()()()
Creates a new TraceLogger instance
Public methodTraceLogger(String)
Create and enable a new TraceLogger instance with automatic naming based on the supplied log file type
Public methodTraceLogger(String, String)
Creates a new TraceLogger instance and initialises filename and type

Methods

  NameDescription
Public methodBlankLine
Insert a blank line into the log file
Public methodDispose
Disposes of the TraceLogger object
Public methodLogContinue(String)
Appends further message to a line started by LogStart, does not terminate the line.
Public methodLogContinue(String, Boolean)
Appends further message to a line started by LogStart, appends a hex translation of the message to the line, does not terminate the line.
Public methodLogFinish(String)
Closes a line started by LogStart with the supplied message
Public methodLogFinish(String, Boolean)
Closes a line started by LogStart with the supplied message and a hex translation of the message
Public methodLogIssue
Logs an issue, closing any open line and opening a continuation line if necessary after the issue message.
Public methodLogMessage(String, String)
Logs a complete message in one call
Public methodLogMessage(String, String, Boolean)
Logs a complete message in one call, including a hex translation of the message
Public methodLogMessageCrLf
Displays a message respecting carriage return and linefeed characters
Public methodLogStart
Writes the time and identifier to the log, leaving the line ready for further content through LogContinue and LogFinish
Public methodSetLogFile
Sets the log filename and type if the constructor is called without parameters

Properties

  NameDescription
Public propertyEnabled
Enables or disables logging to the file.
Public propertyLogFileName
Return the full filename of the log file being created

See Also