Click or drag to resize

AsyncTaskTarget Properties

The AsyncTaskTarget type exposes the following members.

Properties
  NameDescription
Public propertyBatchSize
Gets or sets the number of log events that should be processed in a batch by the lazy writer thread.
Public propertyContextProperties
Gets the array of custom attributes to be passed into the logevent context
(Inherited from TargetWithContext.)
Public propertyExcludeProperties
List of property names to exclude when IncludeEventProperties is true
(Inherited from TargetWithContext.)
Public propertyForceLockingQueue
Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue The locking queue is less concurrent when many logger threads, but reduces memory allocation
Public propertyIncludeCallSite
Gets or sets a value indicating whether to include call site (class and method name) in the LogEventInfo
(Inherited from TargetWithContext.)
Public propertyIncludeCallSiteStackTrace
Gets or sets a value indicating whether to include source info (file name and line number) in the LogEventInfo
(Inherited from TargetWithContext.)
Public propertyIncludeEventProperties
Gets or sets the option to include all properties from the log events
(Inherited from TargetWithContext.)
Public propertyIncludeGdc
Gets or sets a value indicating whether to include contents of the GlobalDiagnosticsContext dictionary
(Inherited from TargetWithContext.)
Public propertyIncludeScopeNested
Gets or sets whether to include the contents of the ScopeContext nested-state-stack.
(Inherited from TargetWithContext.)
Public propertyIncludeScopeProperties
Gets or sets whether to include the contents of the ScopeContext properties-dictionary.
(Inherited from TargetWithContext.)
Protected propertyIsInitialized
Gets a value indicating whether the target has been initialized.
(Inherited from Target.)
Public propertyLayout
Gets or sets the layout used to format log messages.
(Inherited from TargetWithContext.)
Protected propertyLoggingConfiguration
Gets the logging configuration this target is part of.
(Inherited from Target.)
Public propertyName
Gets or sets the name of the target.
(Inherited from Target.)
Public propertyOverflowAction
Gets or sets the action to be taken when the lazy writer thread request queue count exceeds the set limit.
Public propertyQueueLimit
Gets or sets the limit on the number of requests in the lazy writer thread request queue.
Public propertyRetryCount
How many attempts to retry the same Task, before it is aborted
Public propertyRetryDelayMilliseconds
How many milliseconds to wait before next retry (will double with each retry)
Protected propertySyncRoot
Gets the object which can be used to synchronize asynchronous operations that must rely on the .
(Inherited from Target.)
Public propertyTaskDelayMilliseconds
How many milliseconds to delay the actual write operation to optimize for batching
Protected propertyTaskScheduler
Task Scheduler used for processing async Tasks
Public propertyTaskTimeoutSeconds
How many seconds a Task is allowed to run before it is cancelled.
Top
See Also