Свойство | Type | Description | |
---|---|---|---|
InitializeLogFile | void |
Méthode | Description | |
---|---|---|
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. |
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void | ||
_LogError ( string message ) : void | ||
_LogImportant ( string message ) : void | ||
_LogInfo ( string message ) : void |
Méthode | Description | |
---|---|---|
InitializeLogFile ( ) : void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Résultat | void |
public TraceLogger ( |
||
listener | ||
Résultat | System |
protected _LogError ( string message ) : void | ||
message | string | |
Résultat | void |
protected _LogImportant ( string message ) : void | ||
message | string | |
Résultat | void |
protected _LogInfo ( string message ) : void | ||
message | string | |
Résultat | void |