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