add throws and enhance performance
This commit is contained in:
parent
64ab1d8fad
commit
53fdea4d18
|
|
@ -285,11 +285,13 @@ public class Digester : ISteppable<Token>
|
||||||
internal void Export()
|
internal void Export()
|
||||||
{
|
{
|
||||||
_logger.Method();
|
_logger.Method();
|
||||||
|
throw new NotImplementedException($"Import is not yet implemented. Sorry, it's difficult.");
|
||||||
}
|
}
|
||||||
|
|
||||||
internal void Import()
|
internal void Import()
|
||||||
{
|
{
|
||||||
_logger.Method();
|
_logger.Method();
|
||||||
|
throw new NotImplementedException($"Import is not yet implemented. Sorry, it's difficult.");
|
||||||
}
|
}
|
||||||
|
|
||||||
internal void If()
|
internal void If()
|
||||||
|
|
|
||||||
|
|
@ -148,6 +148,9 @@ public class Logger : ILogger, ILogFormatter
|
||||||
|
|
||||||
public void Method(object? value = null, [CallerMemberName] string? caller = null)
|
public void Method(object? value = null, [CallerMemberName] string? caller = null)
|
||||||
{
|
{
|
||||||
|
if (Level < LogLevel.Trace)
|
||||||
|
return; // save some ticks here
|
||||||
|
|
||||||
if (caller == null)
|
if (caller == null)
|
||||||
{
|
{
|
||||||
var st = new StackTrace();
|
var st = new StackTrace();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue