Метод | Описание | |
---|---|---|
ExceptionIntervalLogger ( System.TimeSpan logInterval ) : System |
Initializes the Exception Logger.
|
|
LogException ( object source, |
Log a exception. The Logger decides to log or discard the exception.
|
|
LogFormat ( |
Ability to log the exception as formatted text.
|
|
ResetExceptionCollection ( ) : void |
Reset the stored exception entries.
|
Метод | Описание | |
---|---|---|
ShouldLogException ( |
public ExceptionIntervalLogger ( System.TimeSpan logInterval ) : System | ||
logInterval | System.TimeSpan | the interval how often a Exception should be logged |
Результат | System |
public LogException ( object source, |
||
source | object | The component from which this type comes. The type name of the instance is used. |
ex | The exception. | |
Результат | void |
public LogFormat ( |
||
ex | The exception. | |
type | LogType | The message type. |
source | object | The component from which this type comes. The type name of the instance is used. |
format | string | The text to use as the format string. |
Результат | void |
public ResetExceptionCollection ( ) : void | ||
Результат | void |