UA Bundle SDK .NET
2.1.2.227
|
Implements a trace listener that writes to a file on disk. More...
Inherits UnifiedAutomation.UaBase.ITraceListener.
Public Member Functions | |
void | Open () |
Opens the listener for writing. More... | |
void | Output (TraceEntry entry) |
Writes a trace entry to the listener. More... | |
void | Close () |
Closes the listener. More... | |
void | Dispose () |
Frees any unmanaged resources. More... | |
Properties | |
string | LogFilePath [get, set] |
The path to the log file. More... | |
byte | MaxLogFileBackups [get, set] |
The maximum number of backup files to keep. More... | |
uint | MaxEntriesPerLog [get, set] |
The maximum number of entries in the trace file More... | |
bool | FastTrace [get, set] |
Whether the entries should be written to disk immediately. More... | |
Implements a trace listener that writes to a file on disk.
void UnifiedAutomation.UaBase.TraceFileListener.Close | ( | ) |
Closes the listener.
Implements UnifiedAutomation.UaBase.ITraceListener.
void UnifiedAutomation.UaBase.TraceFileListener.Dispose | ( | ) |
Frees any unmanaged resources.
void UnifiedAutomation.UaBase.TraceFileListener.Open | ( | ) |
Opens the listener for writing.
Implements UnifiedAutomation.UaBase.ITraceListener.
void UnifiedAutomation.UaBase.TraceFileListener.Output | ( | TraceEntry | entry | ) |
Writes a trace entry to the listener.
entry | The entry to write to the trace log. |
Implements UnifiedAutomation.UaBase.ITraceListener.
|
getset |
Whether the entries should be written to disk immediately.
true
if new log entries are flushed immediately; otherwise, false
.
|
getset |
The path to the log file.
The log file path.
|
getset |
The maximum number of entries in the trace file
The max entries per log.
|
getset |
The maximum number of backup files to keep.
The max log file backups.