Method | Description | |
---|---|---|
ConsoleError ( string message ) : void |
Writes an error to the log file.
|
|
ConsoleInfo ( string message ) : void |
Writes an informative string to the log file. Also outputs to the console.
|
|
Data ( string message ) : void |
Writes data to the log file.
|
|
Debug ( string message ) : void |
Writes a debug string to the log file.
|
|
Dispose ( ) : void | ||
Error ( string message ) : void |
Writes an error to the log file.
|
|
Info ( string message ) : void |
Writes an informative string to the log file.
|
|
MayWriteType ( TraceLevel type ) : bool | ||
TextLog ( string filename, bool clear ) : System |
Creates the log file stream and sets the initial log level.
|
|
Warn ( string message ) : void |
Writes a warning to the log file.
|
|
Write ( string message, TraceLevel level ) : void |
Writes a message to the log
|
public ConsoleError ( string message ) : void | ||
message | string | The message to be written. |
return | void |
public ConsoleInfo ( string message ) : void | ||
message | string | The message to be written. |
return | void |
public Data ( string message ) : void | ||
message | string | The message to be written. |
return | void |
public Debug ( string message ) : void | ||
message | string | The message to be written. |
return | void |
public Error ( string message ) : void | ||
message | string | The message to be written. |
return | void |
public Info ( string message ) : void | ||
message | string | The message to be written. |
return | void |
public MayWriteType ( TraceLevel type ) : bool | ||
type | TraceLevel | |
return | bool |
public TextLog ( string filename, bool clear ) : System | ||
filename | string | The output filename. This file will be overwritten if 'clear' is set. |
clear | bool | Whether or not to clear the log file on initialization. |
return | System |
public Warn ( string message ) : void | ||
message | string | The message to be written. |
return | void |
public Write ( string message, TraceLevel level ) : void | ||
message | string | |
level | TraceLevel | |
return | void |