Method | Description | |
---|---|---|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Calls Dispose(bool) |
|
Log ( string message, Category category, Priority priority ) : void |
Write a new log entry with the specified category and priority.
|
|
TextLogger ( ) : System |
Initializes a new instance of TextLogger that writes to the console output.
|
|
TextLogger ( |
Initializes a new instance of TextLogger.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Disposes the associated TextWriter.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | When |
return | void |
public Log ( string message, Category category, Priority priority ) : void | ||
message | string | Message body to log. |
category | Category | Category of the entry. |
priority | Priority | The priority of the entry. |
return | void |
public TextLogger ( |
||
writer | The writer to use for writing log entries. | |
return | System |