View Source
Interface IProfilingLogger
Defines the profiling logging service.
Assembly: Umbraco.Core.dll
Syntax
public interface IProfilingLogger : ILogger
Methods
View Source
DebugDuration(Type, String, String, String, Int32)
Profiles an action and log as debug messages.
Declaration
DisposableTimer DebugDuration(Type loggerType, string startMessage, string completeMessage, string failMessage = null, int thresholdMilliseconds = 0)
Parameters
Type |
Name |
Description |
System.Type |
loggerType |
|
System.String |
startMessage |
|
System.String |
completeMessage |
|
System.String |
failMessage |
|
System.Int32 |
thresholdMilliseconds |
|
Returns
View Source
DebugDuration<T>(String)
Profiles an action and log as debug messages.
Declaration
DisposableTimer DebugDuration<T>(string startMessage)
Parameters
Type |
Name |
Description |
System.String |
startMessage |
|
Returns
Type Parameters
View Source
DebugDuration<T>(String, String, String, Int32)
Profiles an action and log as debug messages.
Declaration
DisposableTimer DebugDuration<T>(string startMessage, string completeMessage, string failMessage = null, int thresholdMilliseconds = 0)
Parameters
Type |
Name |
Description |
System.String |
startMessage |
|
System.String |
completeMessage |
|
System.String |
failMessage |
|
System.Int32 |
thresholdMilliseconds |
|
Returns
Type Parameters
View Source
TraceDuration(Type, String, String, String)
Profiles an action and log as information messages.
Declaration
DisposableTimer TraceDuration(Type loggerType, string startMessage, string completeMessage, string failMessage = null)
Parameters
Type |
Name |
Description |
System.Type |
loggerType |
|
System.String |
startMessage |
|
System.String |
completeMessage |
|
System.String |
failMessage |
|
Returns
View Source
TraceDuration<T>(String)
Profiles an action and log as information messages.
Declaration
DisposableTimer TraceDuration<T>(string startMessage)
Parameters
Type |
Name |
Description |
System.String |
startMessage |
|
Returns
Type Parameters
View Source
TraceDuration<T>(String, String, String)
Profiles an action and log as information messages.
Declaration
DisposableTimer TraceDuration<T>(string startMessage, string completeMessage, string failMessage = null)
Parameters
Type |
Name |
Description |
System.String |
startMessage |
|
System.String |
completeMessage |
|
System.String |
failMessage |
|
Returns
Type Parameters