fix login use string

This commit is contained in:
2022-05-07 21:30:45 +08:00
parent 74c6cb6027
commit d252c1d302
6 changed files with 49 additions and 31 deletions
+2 -8
View File
@@ -12,15 +12,9 @@ namespace SimApi.Logger
Name = name;
}
public IDisposable BeginScope<TState>(TState state)
{
return null;
}
public IDisposable BeginScope<TState>(TState state) => default!;
public bool IsEnabled(LogLevel logLevel)
{
return true;
}
public bool IsEnabled(LogLevel logLevel) => true;
public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception,
Func<TState, Exception, string> formatter)