Метод | Описание | |
---|---|---|
Close ( ) : void |
Closes and destroys this object Same as Dispose(true) |
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
Flush ( ) : void |
Flushes this instance.
|
|
Log ( LogTargets target, string fileName ) : System |
Initializes a new instance of the Log class.
|
|
Write ( ) : void |
Writes this instance.
|
|
Write ( LogType type, string format ) : void |
Writes the specified type.
|
|
Write ( string msg ) : void |
Writes the specified MSG.
|
|
WriteException ( LogType type, |
Writes the exception.
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Dispose objects Will dispose managed and unmanaged resources. |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | /// If true, it will dispose close the handle /// |
Результат | void |
public Log ( LogTargets target, string fileName ) : System | ||
target | LogTargets | The target. |
fileName | string | Name of the file. |
Результат | System |
public Write ( LogType type, string format ) : void | ||
type | LogType | The type. |
format | string | The format. |
Результат | void |
public WriteException ( LogType type, |
||
type | LogType | The type. |
ex | The ex. | |
Результат | void |