Simplify Z80 logging a little

This commit is contained in:
Adrian Conlon committed 2026-09-18 09:40:01 +01:00
1 parent 740947a90a
commit fe093a9748
3 files changed
+3 -14

No files matched your search

-12
View File
@@ -17,18 +17,6 @@
set => this._context = value;
}
public bool Debugging
{
get => this.Verbosity > ILogger.LogLevel.Information;
set => throw new NotImplementedException("Derived from logging verbosity");
}
public bool Strict
{
get => this.Debugging;
set => throw new NotImplementedException("Derived from logging verbosity");
}
public abstract void Log(string context, string message, ILogger.LogLevel level);
}
}
+2 -2
View File
@@ -8,9 +8,9 @@
abstract LogLevel Verbosity { get; set; }
abstract bool Strict { get; set; }
bool Debugging => this.Verbosity > ILogger.LogLevel.Information;
abstract bool Debugging { get; set; }
bool Strict => this.Debugging;
abstract void Log(string context, string message, LogLevel level);