Open sandboxFocus

Class ApplicationInsightsLoggingBackend

Logging back-end for Microsoft Application Insights.

Inheritance
ApplicationInsightsLoggingBackend
Implements
Namespace: PostSharp.Patterns.Diagnostics.Backends.ApplicationInsights
Assembly: PostSharp.Patterns.Diagnostics.Backends.ApplicationInsights.dll
Syntax
public class ApplicationInsightsLoggingBackend : TextLoggingBackend, IDisposable

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(bool)

Disposes the current object.

~ApplicationInsightsLoggingBackend()
Flush()

Flushes the in-memory buffer, to make sure buffered data reach the server immediately.

GetTextBackendOptions()

Gets the back-end options.