NanoByte.Common
Public Member Functions | List of all members
NanoByte.Common.TimedLogEvent Struct Reference

Structure that allows you to log timed execution blocks. More...

Inheritance diagram for NanoByte.Common.TimedLogEvent:

Public Member Functions

 TimedLogEvent (string entry)
 Starts a new log event. More...
 
void Dispose ()
 Ends the log event. More...
 

Detailed Description

Structure that allows you to log timed execution blocks.

using(new LogEvent("Message")) {}

Constructor & Destructor Documentation

◆ TimedLogEvent()

NanoByte.Common.TimedLogEvent.TimedLogEvent ( string  entry)
inline

Starts a new log event.

Parameters
entryThe entry for the log file. Elapsed time will automatically be appended.

Member Function Documentation

◆ Dispose()

void NanoByte.Common.TimedLogEvent.Dispose ( )
inline

Ends the log event.


The documentation for this struct was generated from the following file: