PostSharp6.3/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Backends.​Application­Insights Namespace/Application­Insights­Logging­Backend Class

ApplicationInsightsLoggingBackend Class

Logging back-end for Microsoft Application Insights.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Diagnostics.LoggingBackend
    PostSharp.Patterns.Diagnostics.Backends.TextLoggingBackend
      PostSharp.Patterns.Diagnostics.Backends.ApplicationInsights.ApplicationInsightsLoggingBackend

Namespace:  PostSharp.Patterns.Diagnostics.Backends.ApplicationInsights
Assembly:  PostSharp.Patterns.Diagnostics.Backends.ApplicationInsights (in PostSharp.Patterns.Diagnostics.Backends.ApplicationInsights.dll) Version: 6.3.9.0 (6.3.9.0)
Syntax
C#
public class ApplicationInsightsLoggingBackend : TextLoggingBackend

The ApplicationInsightsLoggingBackend type exposes the following members.

Constructors
  NameDescription
Public methodApplicationInsightsLoggingBackend()
Initializes a new ApplicationInsightsLoggingBackend.
Public methodApplicationInsightsLoggingBackend(String)
Creates ApplicationInsightsLoggingBackend that uses the given instrumentation key.
Properties
  NameDescription
Public propertyCurrentContext (Inherited from LoggingBackend.)
Public propertyCurrentContextLocalConfiguration (Inherited from LoggingBackend.)
Public propertyDefaultContextLocalConfiguration (Inherited from LoggingBackend.)
Public propertyDefaultVerbosity (Inherited from LoggingBackend.)
Public propertyIsCorrupted (Inherited from LoggingBackend.)
Public propertyIsDisposed (Inherited from LoggingBackend.)
Public propertyIsEnabled (Inherited from LoggingBackend.)
Public propertyOptions
Gets the back-end options.
Methods
  NameDescription
Protected methodCreateAsyncCustomActivityContext (Inherited from LoggingBackend.)
Protected methodCreateAsyncMethodContext (Inherited from LoggingBackend.)
Protected methodCreateContextLocalConfiguration (Inherited from LoggingBackend.)
Protected methodCreateEphemeralContext (Inherited from LoggingBackend.)
Protected methodCreateIteratorContext (Inherited from LoggingBackend.)
Public methodCreateRecordBuilder (Overrides LoggingBackend.CreateRecordBuilder().)
Protected methodCreateSyncCustomActivityContext (Inherited from LoggingBackend.)
Protected methodCreateSyncMethodContext (Inherited from LoggingBackend.)
Protected methodCreateThreadContext (Inherited from LoggingBackend.)
Protected methodCreateTypeSource (Overrides LoggingBackend.CreateTypeSource(LoggingNamespaceSource, Type).)
Public methodCreateVerbosityConfiguration (Inherited from LoggingBackend.)
Public methodDispose() (Inherited from LoggingBackend.)
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the ApplicationInsightsLoggingBackend and optionally releases the managed resources
(Overrides TextLoggingBackend.Dispose(Boolean).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Overrides Object.Finalize().)
Public methodFlush
Flushes the in-memory buffer, to make sure buffered data reach the server immediately.
Public methodGetAsyncContextOfTask (Inherited from LoggingBackend.)
Protected methodGetBackendOptions (Inherited from TextLoggingBackend.)
Public methodGetSource(String, String) Obsolete. (Inherited from LoggingBackend.)
Public methodGetSource(String, Type) Obsolete. (Inherited from LoggingBackend.)
Protected methodGetTextBackendOptions
Gets the back-end options.
(Overrides TextLoggingBackend.GetTextBackendOptions().)
Public methodGetThreadContext (Inherited from LoggingBackend.)
Public methodOpenAsyncContext (Inherited from LoggingBackend.)
Public methodOpenEphemeralContext(LogMemberInfo) (Inherited from LoggingBackend.)
Public methodOpenEphemeralContext(LoggingTypeSource, ThreadLoggingContext) (Inherited from LoggingBackend.)
Public methodOpenIteratorContext (Inherited from LoggingBackend.)
Public methodOpenSyncContext (Inherited from LoggingBackend.)
Protected methodWithContextLocalConfiguration (Inherited from LoggingBackend.)
See Also