mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-10-22 17:02:18 +00:00
23 lines
572 B
C#
23 lines
572 B
C#
namespace EightBit
|
|
{
|
|
public abstract class AbstractLogger(string context)
|
|
{
|
|
private string _context = context;
|
|
private ILogger.LogLevel _verbosity = ILogger.LogLevel.Critical;
|
|
|
|
public ILogger.LogLevel Verbosity
|
|
{
|
|
get => this._verbosity;
|
|
set => this._verbosity = value;
|
|
}
|
|
|
|
public string Context
|
|
{
|
|
get => this._context;
|
|
set => this._context = value;
|
|
}
|
|
|
|
public abstract void Log(string context, string message, ILogger.LogLevel level);
|
|
}
|
|
}
|