Click or drag to resize

DiagnosticListenerTarget Properties

The DiagnosticListenerTarget type exposes the following members.

Properties
  NameDescription
Public propertyContextProperties
Gets the array of custom attributes to be passed into the logevent context
(Inherited from TargetWithContext.)
Public propertyEventName
Public propertyExcludeProperties
List of property names to exclude when IncludeEventProperties is true
(Inherited from TargetWithContext.)
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.)
Public propertyLevelName
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 propertySourceName
Protected propertySyncRoot
Gets the object which can be used to synchronize asynchronous operations that must rely on the .
(Inherited from Target.)
Top
See Also