AsyncTaskTarget Properties |
The AsyncTaskTarget type exposes the following members.
Name | Description | |
---|---|---|
BatchSize |
Gets or sets the number of log events that should be processed in a batch
by the lazy writer thread.
| |
ContextProperties |
Gets the array of custom attributes to be passed into the logevent context
(Inherited from TargetWithContext.) | |
ExcludeProperties |
List of property names to exclude when IncludeEventProperties is true
(Inherited from TargetWithContext.) | |
ForceLockingQueue |
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
| |
IncludeCallSite |
Gets or sets a value indicating whether to include call site (class and method name) in the LogEventInfo (Inherited from TargetWithContext.) | |
IncludeCallSiteStackTrace |
Gets or sets a value indicating whether to include source info (file name and line number) in the LogEventInfo (Inherited from TargetWithContext.) | |
IncludeEventProperties |
Gets or sets the option to include all properties from the log events
(Inherited from TargetWithContext.) | |
IncludeGdc |
Gets or sets a value indicating whether to include contents of the GlobalDiagnosticsContext dictionary
(Inherited from TargetWithContext.) | |
IncludeScopeNested |
Gets or sets whether to include the contents of the ScopeContext nested-state-stack.
(Inherited from TargetWithContext.) | |
IncludeScopeProperties |
Gets or sets whether to include the contents of the ScopeContext properties-dictionary.
(Inherited from TargetWithContext.) | |
IsInitialized |
Gets a value indicating whether the target has been initialized.
(Inherited from Target.) | |
Layout |
Gets or sets the layout used to format log messages.
(Inherited from TargetWithContext.) | |
LoggingConfiguration |
Gets the logging configuration this target is part of.
(Inherited from Target.) | |
Name |
Gets or sets the name of the target.
(Inherited from Target.) | |
OverflowAction |
Gets or sets the action to be taken when the lazy writer thread request queue count
exceeds the set limit.
| |
QueueLimit |
Gets or sets the limit on the number of requests in the lazy writer thread request queue.
| |
RetryCount |
How many attempts to retry the same Task, before it is aborted
| |
RetryDelayMilliseconds |
How many milliseconds to wait before next retry (will double with each retry)
| |
SyncRoot |
Gets the object which can be used to synchronize asynchronous operations that must rely on the .
(Inherited from Target.) | |
TaskDelayMilliseconds |
How many milliseconds to delay the actual write operation to optimize for batching
| |
TaskScheduler |
Task Scheduler used for processing async Tasks
| |
TaskTimeoutSeconds |
How many seconds a Task is allowed to run before it is cancelled.
|