Declares a source-generated LogFormatter implementation from a compile-time template.
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
public sealed class LogFormatterAttribute : Attribute
This attribute can be applied to:
partial type inheriting LogFormatter.static partial property returning LogFormatter inside a partial type.kind:method, kind:property, kind:ctor. Press Esc to clear.LogFormatterAttribute(String)Initializes a new instance of the LogFormatterAttribute class.TemplateGets the formatter template.