Show / Hide Table of Contents

Class ServiceCallsRepositoryResourceLogger

Recorder plugin for the SoTimer system, to selectively track only Database Operations and contribute them to the parent service statistics

Inheritance
object
ServiceCallsRepositoryResourceLogger
Implements
ISoTimeRecorderPlugin
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.Diagnostics
Assembly: SoCore.dll
Syntax
[SoTimeRecorderPlugin("ServiceCallsRepositoryResourceLogger")]
public class ServiceCallsRepositoryResourceLogger : ISoTimeRecorderPlugin

Constructors

ServiceCallsRepositoryResourceLogger()

Recorder plugin for the SoTimer system, to selectively track only Database Operations and contribute them to the parent service statistics

Declaration
public ServiceCallsRepositoryResourceLogger()

Properties

Enabled

Is the time recorder currently enabled - like SoLogger and LogTimes in the diagnostics configuration section.

Declaration
public bool Enabled { get; }
Property Value
Type Description
bool

Methods

Start(SoTimerType, string, Func<string>)

Called to start time logging.

Declaration
public ISoTimeRecorderContext Start(SoTimerType type, string category, Func<string> getDescription)
Parameters
Type Name Description
SoTimerType type

What is being logged

string category

Chosen category

Func<string> getDescription

Choosen description. Description can be costly to generate.

Returns
Type Description
ISoTimeRecorderContext

Context used for timing operations.

Implements

ISoTimeRecorderPlugin

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top