LoggerEvent Class

Base class to handle logging using an event handler.

Definition

Namespace: Logging.Helper
Assembly: Logging.Helper (in Logging.Helper.dll) Version: 2.0.6
C#
public class LoggerEvent
Inheritance
Object    LoggerEvent

Constructors

LoggerEventInitializes a new instance of the LoggerEvent class

Methods

LogStatusLogs a status message by using a RaiseLogHandler event.
RaiseLogEventLogs a message by using a RaiseLogHandler event.
ResetTimerStops time interval measurement and resets the elapsed time to zero.
RestartTimer Stops time interval measurement, resets the elapsed time to zero, and starts measuring elapsed time.
StartTimerStarts, or resumes, measuring elapsed time for an interval.
StopTimerStops measuring elapsed time for an interval.

Events

RaiseLogHandlerLogging event handler.

See Also