diff --git a/packages/neuron-wallet/src/utils/logger.ts b/packages/neuron-wallet/src/utils/logger.ts index 2c3071d1c0..9156ee3cfb 100644 --- a/packages/neuron-wallet/src/utils/logger.ts +++ b/packages/neuron-wallet/src/utils/logger.ts @@ -4,12 +4,10 @@ import env from '../env' if (!env.isDevMode) { logger.transports.file.level = 'info' } -logger.transports.file.format = ({ date, level, data }) => { - return `[${date.toISOString()}] [${level}] ${data}` -} -logger.transports.console.format = ({ date, level, data }) => { - return `[${date.toISOString()}] [${level}] ${data}` -} +logger.transports.file.format = '[{iso}] [{level}] {text}' + +logger.transports.console.format = '[{iso}] [{level}] {text}' + // logger.catchErrors({ showDialog: false }) export default logger