| AppDomainFixedOutputAttribute Class |
Identifies that the output of layout or layout render does not change for the lifetime of the current appdomain.
Inheritance Hierarchy SystemObject
SystemAttribute
NLog.ConfigAppDomainFixedOutputAttribute
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public sealed class AppDomainFixedOutputAttribute : Attribute
Public NotInheritable Class AppDomainFixedOutputAttribute
Inherits Attribute
Dim instance As AppDomainFixedOutputAttribute
[<SealedAttribute>]
type AppDomainFixedOutputAttribute =
class
inherit Attribute
end
The 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