Méthode | Description | |
---|---|---|
Dispose ( ) : void |
Disposes of resources that were holding memory and other resources.
|
|
TextLog ( ) : System |
Instantiates a new instance of the TextLog class
|
|
Write ( string message ) : void | ||
WriteError ( string message ) : void |
Writes an error message to the textual log file.
|
|
WriteLine ( string message ) : void |
Write a message to the textual log file.
|
|
WriteWarning ( string message ) : void |
Writes a warning message to the textual log file.
|
Méthode | Description | |
---|---|---|
GetLogFilePath ( ) : string |
Obtains the Log File path from the configuration file's AppSettings section
|
|
Initialize ( ) : void |
Initializes the logfile to write to.
|
public WriteError ( string message ) : void | ||
message | string | The error message to log. |
Résultat | void |
public WriteLine ( string message ) : void | ||
message | string | The message to log. |
Résultat | void |
public WriteWarning ( string message ) : void | ||
message | string | The warning message to log. |
Résultat | void |