// Author: Simon Gockner // Created: 2020-02-08 // Copyright(c) 2020 SimonG. All Rights Reserved. using System; using GBase.Logging.Interfaces; namespace GBase.Logging { /// /// The attribute /// [AttributeUsage(AttributeTargets.Assembly)] public class LogComponentAttribute : Attribute, ILogComponent { /// /// constructor /// /// The public LogComponentAttribute(string component) { Component = component; } /// /// The /// public string Component { get; private set; } /// /// Returns the of this /// /// The public override string ToString() { return Component; } } }