PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Backends.​Application­InsightsApplication­Insights­Logging­Backend
Open sandboxFocus

Class ApplicationInsightsLoggingBackend

Logging back-end for Microsoft Application Insights.

Inheritance
ApplicationInsightsLoggingBackend
Implements
IDisposable
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.

Extension Methods

LoggingConfigurationManager.ConfigureFromXmlWithAutoReloadAsync(LoggingBackend, Uri, TimeSpan, CancellationToken)
LoggingConfigurationManager.StopAutoReloadConfigurationAsync(LoggingBackend)
LoggingConfigurationManager.ConfigureFromXmlAsync(LoggingBackend, Uri, CancellationToken)
LoggingConfigurationManager.ConfigureFromXml(LoggingBackend, XDocument, Boolean)
LoggingConfigurationManager.ConfigureFromXml(LoggingBackend, XElement, Boolean)
LoggingConfigurationManager.ResetConfiguration(LoggingBackend)