 | AppDomainFixedOutputAttribute Class |
Identifies that the output of layout or layout render does not change for the lifetime of the current appdomain.
Inheritance HierarchySystemObject
SystemAttribute
NLog.ConfigAppDomainFixedOutputAttribute
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic sealed class AppDomainFixedOutputAttribute : Attribute
Public NotInheritable Class AppDomainFixedOutputAttribute
Inherits Attribute
Dim instance As AppDomainFixedOutputAttribute
[<SealedAttribute>]
type AppDomainFixedOutputAttribute =
class
inherit Attribute
endThe AppDomainFixedOutputAttribute type exposes the following members.
Constructors
Remarks
Implementors must have the [ThreadAgnostic] attribute
A layout(renderer) could be converted to a literal when:
- The layout and all layout properties are SimpleLayout or [AppDomainFixedOutput]
Recommendation: Apply this attribute to a layout or layout-renderer which have the result only changes by properties of type Layout.
See Also