Click or drag to resize

TargetWithContext Properties

The TargetWithContext type exposes the following members.

Properties
  NameDescription
Public propertyContextProperties
Gets the array of custom attributes to be passed into the logevent context
Public propertyExcludeProperties
List of property names to exclude when IncludeEventProperties is true
Public propertyIncludeCallSite
Gets or sets a value indicating whether to include call site (class and method name) in the LogEventInfo
Public propertyIncludeCallSiteStackTrace
Gets or sets a value indicating whether to include source info (file name and line number) in the LogEventInfo
Public propertyIncludeEventProperties
Gets or sets the option to include all properties from the log events
Public propertyIncludeGdc
Gets or sets a value indicating whether to include contents of the GlobalDiagnosticsContext dictionary
Public propertyIncludeScopeNested
Gets or sets whether to include the contents of the ScopeContext nested-state-stack.
Public propertyIncludeScopeProperties
Gets or sets whether to include the contents of the ScopeContext properties-dictionary.
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.
(Overrides TargetWithLayoutLayout.)
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.)
Protected propertySyncRoot
Gets the object which can be used to synchronize asynchronous operations that must rely on the .
(Inherited from Target.)
Top
See Also