fixes for pet handling, uploads, clear storage button, remove button while reconnecting, put paused to online/paused, put visible to online
This commit is contained in:
@@ -74,17 +74,17 @@ internal class Logger : ILogger
|
||||
switch (logLevel)
|
||||
{
|
||||
case LogLevel.Debug:
|
||||
PluginLog.Debug($"[{_name}] [{eventId}] {formatter(state, exception)}");
|
||||
Debug($"[{_name}] [{eventId}] {formatter(state, exception)}");
|
||||
break;
|
||||
case LogLevel.Error:
|
||||
case LogLevel.Critical:
|
||||
PluginLog.Error($"[{_name}] [{eventId}] {formatter(state, exception)}");
|
||||
Error($"[{_name}] [{eventId}] {formatter(state, exception)}", exception);
|
||||
break;
|
||||
case LogLevel.Information:
|
||||
PluginLog.Information($"[{_name}] [{eventId}] {formatter(state, exception)}");
|
||||
Info($"[{_name}] [{eventId}] {formatter(state, exception)}");
|
||||
break;
|
||||
case LogLevel.Warning:
|
||||
PluginLog.Warning($"[{_name}] [{eventId}] {formatter(state, exception)}");
|
||||
Warn($"[{_name}] [{eventId}] {formatter(state, exception)}", exception);
|
||||
break;
|
||||
case LogLevel.Trace:
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user