Struct TimedLogEvent
Structure that allows you to log timed execution blocks.
public struct TimedLogEvent
- Extension Methods
Examples
using(new LogEvent("Message")) {}
Constructors
TimedLogEvent(string)
Starts a new log event.
public TimedLogEvent(string entry)
Parameters
entry
stringThe entry for the log file. Elapsed time will automatically be appended.
Methods
Dispose()
Ends the log event.
public void Dispose()