Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Called to dispose of this objects resources. For the log, closes any open file streams and file writers. |
|
Log ( string fileName ) : System |
Constructor. Creates a log file that also logs debug output.
|
|
Log ( string fileName, bool debugOutput ) : System |
Constructor.
|
|
Write ( LogMessageLevel level, bool maskDebug, string message ) : void |
Write a message to the log.
|
|
Write ( bool maskDebug, string message ) : void |
Write a message to the log. Message is written with a LogMessageLevel of Normal, and debug output is not written. |
|
Write ( string message ) : void |
Write a message to the log. Message is written with a LogMessageLevel of Normal, and debug output is not written. |
Метод | Описание | |
---|---|---|
FireMessageLogged ( LogMessageLevel level, bool maskDebug, string message ) : void |
public Log ( string fileName ) : System | ||
fileName | string | Name of the log file to open. |
Результат | System |
public Log ( string fileName, bool debugOutput ) : System | ||
fileName | string | Name of the log file to open. |
debugOutput | bool | Write log messages to the debug output? |
Результат | System |
public Write ( LogMessageLevel level, bool maskDebug, string message ) : void | ||
level | LogMessageLevel | Importance of this logged message. |
maskDebug | bool | If true, debug output will not be written. |
message | string | Message to write, which can include string formatting tokens. |
Результат | void |
public Write ( bool maskDebug, string message ) : void | ||
maskDebug | bool | If true, debug output will not be written. |
message | string | Message to write, which can include string formatting tokens. |
Результат | void |
public Write ( string message ) : void | ||
message | string | Message to write, which can include string formatting tokens. |
Результат | void |