Skip to content

Commit

Permalink
core: reduce sync logger verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodrr committed Jul 27, 2023
1 parent 4f1f9ec commit 3c9678c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/core/api/sync/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,18 +137,10 @@ class Sync {
switch (level) {
case signalr.LogLevel.Critical:
return scopedLogger.fatal(new Error(message));
case signalr.LogLevel.Debug:
return scopedLogger.debug(message);
case signalr.LogLevel.Error: {
db.eventManager.publish(EVENTS.syncAborted, message);
return scopedLogger.error(new Error(message));
}
case signalr.LogLevel.Information:
return scopedLogger.info(message);
case signalr.LogLevel.None:
return scopedLogger.log(message);
case signalr.LogLevel.Trace:
return scopedLogger.log(message);
case signalr.LogLevel.Warning:
return scopedLogger.warn(message);
}
Expand Down

0 comments on commit 3c9678c

Please sign in to comment.