Method | Description | |
---|---|---|
Close ( ) : void |
Closes the logging stream.
|
|
Dispose ( ) : void | ||
Logger ( ) : System |
Initializes a new instance of the Logger class.
|
|
Open ( string path ) : void |
Opens the logging stream at the specified path.
|
|
WriteException ( |
Writes the specified exception to the log at log level LogLevel.Fatal.
|
|
WriteException ( |
Writes the specified exception to the log if the specified loglevel is at least MinimumLogLevel.
|
|
WriteLine ( string message ) : void |
Writes the specified message to the log at log level LogLevel.Debug.
|
|
WriteLine ( string message, LogLevel logLevel ) : void |
Writes the specified message to the log if the specified loglevel is at least MinimumLogLevel.
|
public WriteException ( |
||
exception | The exception. | |
return | void |
public WriteException ( |
||
exception | The exception. | |
logLevel | LogLevel | The log level. |
return | void |
public WriteLine ( string message ) : void | ||
message | string | The message. |
return | void |
public WriteLine ( string message, LogLevel logLevel ) : void | ||
message | string | The message. |
logLevel | LogLevel | The log level. |
return | void |