We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9249b1 commit 1c60c33Copy full SHA for 1c60c33
app/renderer/js/utils/logger-util.ts
@@ -89,20 +89,21 @@ export default class Logger {
89
nodeConsole, timestamp, level, logInDevMode
90
} = this;
91
92
- /* eslint-disable no-fallthrough */
93
switch (true) {
94
case typeof timestamp === 'function':
95
args.unshift(timestamp() + ' |\t');
+ // Fall through
96
97
case (level):
98
args.unshift(type.toUpperCase() + ' |');
99
100
101
case isDev || logInDevMode:
102
nodeConsole[type](...args);
103
+ break;
104
- default: break;
105
+ default:
106
}
- /* eslint-enable no-fallthrough */
107
108
console[type](...args);
109
0 commit comments