Class ApplicationInsightsLoggingBackend
Logging back-end for Microsoft Application Insights.
Implements
Namespace: PostSharp.Patterns.Diagnostics.Backends.ApplicationInsights
Assembly: PostSharp.Patterns.Diagnostics.Backends.ApplicationInsights.dll
Syntax
public class ApplicationInsightsLoggingBackend : TextLoggingBackend
Constructors
Name | Description |
---|---|
ApplicationInsightsLoggingBackend() | Initializes a new ApplicationInsightsLoggingBackend. |
ApplicationInsightsLoggingBackend(String) | Creates ApplicationInsightsLoggingBackend that uses the given instrumentation key. |
Properties
Name | Description |
---|---|
Options | Gets the back-end options. |
Methods
Name | Description |
---|---|
CreateRecordBuilder() | Creates a new LogRecordBuilder. |
CreateTypeSource(LoggingNamespaceSource, Type) | Creates a LoggingTypeSource for the given role and type. |
Dispose(Boolean) | Disposes the current object. |
Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. |
Flush() | Flushes the in-memory buffer, to make sure buffered data reach the server immediately. |
GetTextBackendOptions() | Gets the back-end options. |