NLog.Layouts.LayoutAttribute public sealed class LayoutAttribute : NameBaseAttribute Marks class as Layout and attaches a type-alias name for use in NLog configuration. Documentation public LayoutAttribute(string name) Initializes a new instance of the LayoutAttribute class.