Свойство | Тип | Описание | |
---|---|---|---|
InitializeLogFile | void |
Метод | Описание | |
---|---|---|
Flush ( ) : void |
Write out the contents of the log string to the file, flushing the contents of the in-memory string.
|
|
Reset ( ) : void |
Resets the log file by flushing the Trace, closing any files, and creating a new log filename. This method will likely not be frequently used outside of tests, but is provided to start a new session without closing down the instance. |
|
TraceLogger ( ) : System |
Constructor for TraceLogger class.
|
|
TraceLogger ( |
Constructor for TraceLogger class. This constructor allows for overriding the default type of TraceListener. This can be useful for test purposes when a log file need not be generated. |
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void | ||
_LogError ( string message ) : void | ||
_LogImportant ( string message ) : void | ||
_LogInfo ( string message ) : void |
Метод | Описание | |
---|---|---|
InitializeLogFile ( ) : void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public TraceLogger ( |
||
listener | ||
Результат | System |
protected _LogError ( string message ) : void | ||
message | string | |
Результат | void |
protected _LogImportant ( string message ) : void | ||
message | string | |
Результат | void |
protected _LogInfo ( string message ) : void | ||
message | string | |
Результат | void |