PostSharp 6.7 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends.​NLog Namespace / NLog­Collecting­Target Class

NLogCollectingTarget Class

Writes log messages to PostSharp Logging.
Inheritance Hierarchy
System.Object
  Target
    PostSharp.Patterns.Diagnostics.Backends.NLog.NLogCollectingTarget

Namespace:  PostSharp.Patterns.Diagnostics.Backends.NLog
Assembly:  PostSharp.Patterns.Diagnostics.Backends.NLog (in PostSharp.Patterns.Diagnostics.Backends.NLog.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
public class NLogCollectingTarget : Target

The NLogCollectingTarget type exposes the following members.

Constructors
  NameDescription
Public methodNLogCollectingTarget
Creates a new instance of NLogCollectingTarget.
Properties
  NameDescription
Protected propertyIsInitialized (Inherited from Target.)
Protected propertyLoggingConfiguration (Inherited from Target.)
Public propertyName (Inherited from Target.)
Public propertyOptimizeBufferReuse (Inherited from Target.)
Protected propertySyncRoot (Inherited from Target.)
Methods
  NameDescription
Protected methodCloseTarget (Inherited from Target.)
Public methodDispose() (Inherited from Target.)
Protected methodDispose(Boolean) (Inherited from Target.)
Public methodFlush (Inherited from Target.)
Protected methodFlushAsync (Inherited from Target.)
Protected methodInitializeTarget (Inherited from Target.)
Protected methodMergeEventProperties (Inherited from Target.)
Public methodPrecalculateVolatileLayouts (Inherited from Target.)
Protected methodRenderLogEvent (Inherited from Target.)
Public methodToString (Inherited from Target.)
Protected methodWrite(AsyncLogEventInfo) (Inherited from Target.)
Protected methodWrite(AsyncLogEventInfo[]) Obsolete. (Inherited from Target.)
Protected methodWrite(IList<AsyncLogEventInfo>) (Inherited from Target.)
Protected methodWrite(LogEventInfo) (Overrides Target.Write(LogEventInfo).)
Public methodWriteAsyncLogEvent (Inherited from Target.)
Public methodWriteAsyncLogEvents (Inherited from Target.)
Protected methodWriteAsyncThreadSafe(AsyncLogEventInfo) (Inherited from Target.)
Protected methodWriteAsyncThreadSafe(AsyncLogEventInfo[]) Obsolete. (Inherited from Target.)
Protected methodWriteAsyncThreadSafe(IList<AsyncLogEventInfo>) (Inherited from Target.)
See Also