Skip to content

Commit

Permalink
#skip-ci fixed log template to use log level
Browse files Browse the repository at this point in the history
  • Loading branch information
majorlue committed Jan 4, 2024
1 parent 2095951 commit 435b875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-electron/electron-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const getLogFileName: () => string = () => {
// can't use function call in resolve path as it'll create a new file for each logger instance
const logFileName = getLogFileName();
log.transports.file.resolvePathFn = () => path.join(logFolder, logFileName);
log.transports.file.format = '[{h}:{i}:{s}.{ms}] [{label}] {text}';
log.transports.file.format = '[{h}:{i}:{s}.{ms}] [{level}] {text}';

log.info('Logger initialised');

Expand Down

0 comments on commit 435b875

Please sign in to comment.