Click or drag to resize

JsonLayout Properties

The JsonLayout type exposes the following members.

Properties
  NameDescription
Public propertyAttributes
Gets the array of attributes' configurations.
Public propertyEscapeForwardSlash
Should forward slashes be escaped? If true, / will be converted to \/
Public propertyExcludeEmptyProperties
Gets or sets the option to exclude null/empty properties from the log event (as JSON)
Public propertyExcludeProperties
List of property names to exclude when IncludeAllProperties is true
Public propertyIncludeEventProperties
Gets or sets the option to include all properties from the log event (as JSON)
Public propertyIncludeGdc
Gets or sets a value indicating whether to include contents of the GlobalDiagnosticsContext dictionary.
Public propertyIncludeScopeProperties
Gets or sets whether to include the contents of the ScopeContext dictionary.
Public propertyIndentJson
Auto indent and create new lines
Protected propertyLoggingConfiguration
Gets the logging configuration this target is part of.
(Inherited from Layout.)
Public propertyMaxRecursionLimit
How far should the JSON serializer follow object references before backing off
Public propertyRenderEmptyObject
Gets or sets the option to render the empty object value {}
Public propertySuppressSpaces
Gets or sets the option to suppress the extra spaces in the output json
Top
See Also