diff --git a/Qrakhen.Qamp.Core/Compilation/Digester.cs b/Qrakhen.Qamp.Core/Compilation/Digester.cs index 63baab7..2995ccb 100644 --- a/Qrakhen.Qamp.Core/Compilation/Digester.cs +++ b/Qrakhen.Qamp.Core/Compilation/Digester.cs @@ -285,11 +285,13 @@ public class Digester : ISteppable internal void Export() { _logger.Method(); + throw new NotImplementedException($"Import is not yet implemented. Sorry, it's difficult."); } internal void Import() { _logger.Method(); + throw new NotImplementedException($"Import is not yet implemented. Sorry, it's difficult."); } internal void If() diff --git a/Qrakhen.Qamp.Core/Logging/ILogger.cs b/Qrakhen.Qamp.Core/Logging/ILogger.cs index 41f8ac0..ef68216 100644 --- a/Qrakhen.Qamp.Core/Logging/ILogger.cs +++ b/Qrakhen.Qamp.Core/Logging/ILogger.cs @@ -148,6 +148,9 @@ public class Logger : ILogger, ILogFormatter public void Method(object? value = null, [CallerMemberName] string? caller = null) { + if (Level < LogLevel.Trace) + return; // save some ticks here + if (caller == null) { var st = new StackTrace();