mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-15 03:14:15 +01:00
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:
parent
673d098827
commit
3634c06ee5
17 changed files with 241 additions and 179 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue