![]() | LayoutWithHeaderAndFooter Class |
Namespace: NLog.Layouts
The LayoutWithHeaderAndFooter type exposes the following members.
Name | Description | |
---|---|---|
![]() | LayoutWithHeaderAndFooter | Initializes a new instance of the LayoutWithHeaderAndFooter class |
Name | Description | |
---|---|---|
![]() | Footer |
Gets or sets the footer layout.
|
![]() | Header |
Gets or sets the header layout.
|
![]() | Layout |
Gets or sets the body layout (can be repeated multiple times).
|
![]() | LoggingConfiguration |
Gets the logging configuration this target is part of.
(Inherited from Layout.) |
Name | Description | |
---|---|---|
![]() | CloseLayout |
Closes the layout.
(Inherited from Layout.) |
![]() | GetFormattedMessage |
Renders formatted output using the log event as context.
(Overrides LayoutGetFormattedMessage(LogEventInfo).) |
![]() | InitializeLayout |
Initializes the layout.
(Inherited from Layout.) |
![]() | Precalculate |
Precalculates the layout for the specified log event and stores the result
in per-log event cache.
Only if the layout doesn't have [ThreadAgnostic] and doesn't contain layouts with [ThreadAgnostic].
(Inherited from Layout.) |
![]() | Render(LogEventInfo) |
Renders formatted output using the log event as context.
(Inherited from Layout.) |
![]() | Render(LogEventInfo, StringBuilder) |
Optimized version of Render(LogEventInfo) that works best when
override of RenderFormattedMessage(LogEventInfo, StringBuilder) is available.
(Inherited from Layout.) |
![]() | RenderFormattedMessage |
Renders formatted output using the log event as context.
(Overrides LayoutRenderFormattedMessage(LogEventInfo, StringBuilder).) |
![]() | ResolveServiceT |
Resolve from DI ServiceRepository (Inherited from Layout.) |