Class Constants
Provides constant values.
Inheritance
System.Object
Constants
Namespace: Copper.Diagnostics.Common
Assembly: Copper.Diagnostics.Common.dll
Syntax
public static class Constants
Fields
View SourceApplicationInsightsInstrumentationKey
The configuration path for the application insights instrumentation key.
Declaration
public const string ApplicationInsightsInstrumentationKey = "Copper:AppSettings:ApplicationInsightsInstrumentationKey"
Field Value
Type | Description |
---|---|
System.String |
CopperILoggerMessageType
The copper logger message type.
Declaration
public const string CopperILoggerMessageType = "CopperILoggerMessageType"
Field Value
Type | Description |
---|---|
System.String |
DependencyFailure
The failed dependency identifier.
Declaration
public const string DependencyFailure = "FAILED DEPENDENCY"
Field Value
Type | Description |
---|---|
System.String |
DependencyFailureFormat
The failed dependency format.
Declaration
public const string DependencyFailureFormat = "{CopperILoggerMessageType} call to {target} took {duration} with => {arguments}"
Field Value
Type | Description |
---|---|
System.String |
DependencySuccess
The dependency identifier.
Declaration
public const string DependencySuccess = "DEPENDENCY"
Field Value
Type | Description |
---|---|
System.String |
DependencySuccessFormat
The dependency format.
Declaration
public const string DependencySuccessFormat = "{CopperILoggerMessageType} call to {target} took {duration} with => {arguments}"
Field Value
Type | Description |
---|---|
System.String |
Event
The event identifier.
Declaration
public const string Event = "EVENT"
Field Value
Type | Description |
---|---|
System.String |
EventSuccessFormat
The event format.
Declaration
public const string EventSuccessFormat = "{CopperILoggerMessageType} {eventName} published with => {arguments}"
Field Value
Type | Description |
---|---|
System.String |
RequestFailure
The failed request identifier.
Declaration
public const string RequestFailure = "FAILED REQUEST"
Field Value
Type | Description |
---|---|
System.String |
RequestFailureFormat
The failed request format.
Declaration
public const string RequestFailureFormat = "{CopperILoggerMessageType} on {target} took {duration}"
Field Value
Type | Description |
---|---|
System.String |
RequestSuccess
The request identifier.
Declaration
public const string RequestSuccess = "REQUEST"
Field Value
Type | Description |
---|---|
System.String |
RequestSuccessFormat
The failed request format.
Declaration
public const string RequestSuccessFormat = "{CopperILoggerMessageType} on {target} took {duration}"
Field Value
Type | Description |
---|---|
System.String |