![]() | AspNetResponseCookieLayoutRenderer Class |
Namespace: NLog.Web.LayoutRenderers
The AspNetResponseCookieLayoutRenderer type exposes the following members.
Name | Description | |
---|---|---|
![]() | AspNetResponseCookieLayoutRenderer |
Initializes a new instance of the AspNetResponseCookieLayoutRenderer class.
|
Name | Description | |
---|---|---|
![]() | CookieNames | Obsolete.
Cookie names to be rendered.
If null or empty array, all cookies will be rendered.
|
![]() | Exclude |
Gets or sets the keys to exclude from the output. If omitted, none are excluded.
|
![]() | HttpContextAccessor |
Provides access to the current request HttpContext.
(Inherited from AspNetLayoutRendererBase.) |
![]() | Items |
Cookie names to be rendered.
If null or empty array, all cookies will be rendered.
|
![]() | ItemSeparator |
Separator between key/value pair, and the next pair. Only used for Flat (Inherited from AspNetLayoutMultiValueRendererBase.) |
![]() | LoggingConfiguration |
Gets the logging configuration this target is part of.
(Inherited from LayoutRenderer.) |
![]() | LowerCaseKeys |
Convert the key to lowercase if true, otherwise render the raw value of key. Default is false.
(Inherited from AspNetLayoutMultiValueRendererBase.) |
![]() | ObjectSeparator |
Separator between objects, like cookies. Only used for Flat |
![]() | OutputFormat |
Determines how the output is rendered. Possible Value: FLAT, JSON. Default is FLAT.
(Inherited from AspNetLayoutMultiValueRendererBase.) |
![]() | SingleAsArray | Obsolete.
Get or set whether single key/value-pair be rendered as Json-Array.
(Inherited from AspNetLayoutMultiValueRendererBase.) |
![]() | ValueFormatter |
Value formatter
(Inherited from LayoutRenderer.) |
![]() | ValueSeparator |
Separator between value and key. Only used for Flat (Inherited from AspNetLayoutMultiValueRendererBase.) |
![]() | ValuesOnly |
Only render values if true, otherwise render key/value pairs.
(Inherited from AspNetLayoutMultiValueRendererBase.) |
![]() | Verbose |
Render all of the cookie properties, such as Daom and Path, not merely Name and Value
|
Name | Description | |
---|---|---|
![]() | Append |
Validates that the HttpContext is available and delegates append to subclasses.StringBuilder.
(Inherited from AspNetLayoutRendererBase.) |
![]() | CloseLayoutRenderer |
Closes the layout renderer.
(Inherited from AspNetLayoutRendererBase.) |
![]() | DoAppend |
Renders the value of layout renderer in the context of the specified log event into StringBuilder.
(Overrides AspNetLayoutRendererBaseDoAppend(StringBuilder, LogEventInfo).) |
![]() | GetCulture |
Get the CultureInfo for rendering the messages to a String (Inherited from LayoutRenderer.) |
![]() | GetFormatProvider |
Get the IFormatProvider for rendering the messages to a String (Inherited from LayoutRenderer.) |
![]() | GetRenderedItemSeparator |
Get the rendered ItemSeparator (Inherited from AspNetLayoutMultiValueRendererBase.) |
![]() | GetRenderedValueSeparator |
Get the rendered ValueSeparator (Inherited from AspNetLayoutMultiValueRendererBase.) |
![]() | InitializeLayoutRenderer |
Initializes the layout renderer.
(Inherited from LayoutRenderer.) |
![]() | Render |
Renders the value of layout renderer in the context of the specified log event.
(Inherited from LayoutRenderer.) |
![]() | ResolveServiceT |
Resolves the interface service-type from the service-repository
(Inherited from LayoutRenderer.) |
![]() | SerializePairs |
Serialize multiple key/value pairs
(Inherited from AspNetLayoutMultiValueRendererBase.) |
![]() | SerializeValues |
Serialize multiple values
(Inherited from AspNetLayoutMultiValueRendererBase.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from LayoutRenderer.) |
1${aspnet-response-cookie:OutputFormat=Flat} 2${aspnet-response-cookie:OutputFormat=JsonArray} 3${aspnet-response-cookie:OutputFormat=JsonDictionary} 4${aspnet-response-cookie:OutputFormat=JsonDictionary:Items=username} 5${aspnet-response-cookie:OutputFormat=JsonDictionary:Exclude=access_token}