-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Hello. I'm using this logger inside docker container, so the timestamp/ts column is redundant.
The only way I've found, is overriding formatEntry function like folows:
import SimpleNodeLogger from 'simple-node-logger';
const log = SimpleNodeLogger.createSimpleLogger({ level: 'debug' });
const appenders = log.getAppenders();
appenders[0].formatEntry = function(entry) {
return [
this.formatLevel(entry.level),
this.formatMessage(entry.msg)
];
};
export default log;So would be nice to have some configuration option for such usecase.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels