Свойство | Type | Description | |
---|---|---|---|
LoggingEnabled | bool |
Méthode | Description | |
---|---|---|
ClearLog ( ) : void |
Queues the underlying log writer to empty the logfile before appending any more messages to it. Messages that are awaiting to be written to the log file are NOT removed from Queue
|
|
Dispose ( ) : void | ||
LogWriter ( string FileLocation, bool Truncate = false, int TruncateLen = 2097152 ) : System |
Creates a new Log Writter instance
|
|
Write ( string message ) : void |
Adds a message to the queue, to be written to the log file
|
Méthode | Description | |
---|---|---|
FlushLog ( ) : void |
Flushes the Queue to the physical log file
|
public LogWriter ( string FileLocation, bool Truncate = false, int TruncateLen = 2097152 ) : System | ||
FileLocation | string | The location of the logfile. If the file doesnt exist, /// It will be created. |
Truncate | bool | If set to true and the logfile is over XX size, it will be truncated to 0 length |
TruncateLen | int |
/// If |
Résultat | System |
public Write ( string message ) : void | ||
message | string | The message to write to the log |
Résultat | void |