Class SoTimeLoggerPlugin
Plugin responsible for logging times to file.
Implements
Namespace: SuperOffice.Diagnostics
Assembly: SoCore.dll
Syntax
[SoTimeRecorderPlugin("LogTimes")]
public sealed class SoTimeLoggerPlugin : Object, ISoTimeRecorderPlugin, IPlugin
Constructors
SoTimeLoggerPlugin()
Plugin responsible for logging times to file.
Declaration
public SoTimeLoggerPlugin()
Properties
Enabled
Plugin responsible for logging times to file.
Declaration
public bool Enabled { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Start(SoTimerType, String, Func<String>)
Start a timing operation.
Declaration
public ISoTimeRecorderContext Start(SoTimerType type, string category, Func<string> description)
Parameters
Type | Name | Description |
---|---|---|
SoTimerType | type | |
String | category | Category like: Database, Services, WebRequest, etc. |
Func<String> | description | Brief information about what is being timed. |
Returns
Type | Description |
---|---|
ISoTimeRecorderContext | Timer object |
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)