JsonLayout Properties |
The JsonLayout type exposes the following members.
Name | Description | |
---|---|---|
Attributes |
Gets the array of attributes' configurations.
| |
EscapeForwardSlash |
Should forward slashes be escaped? If true, / will be converted to \/
| |
ExcludeEmptyProperties |
Gets or sets the option to exclude null/empty properties from the log event (as JSON)
| |
ExcludeProperties |
List of property names to exclude when IncludeAllProperties is true
| |
IncludeEventProperties |
Gets or sets the option to include all properties from the log event (as JSON)
| |
IncludeGdc |
Gets or sets a value indicating whether to include contents of the GlobalDiagnosticsContext dictionary.
| |
IncludeScopeProperties |
Gets or sets whether to include the contents of the ScopeContext dictionary.
| |
IndentJson |
Auto indent and create new lines
| |
LoggingConfiguration |
Gets the logging configuration this target is part of.
(Inherited from Layout.) | |
MaxRecursionLimit |
How far should the JSON serializer follow object references before backing off
| |
RenderEmptyObject |
Gets or sets the option to render the empty object value {}
| |
SuppressSpaces |
Gets or sets the option to suppress the extra spaces in the output json
|