diff --git a/lib/index.js b/lib/index.js index afc55f5..ca3244d 100644 --- a/lib/index.js +++ b/lib/index.js @@ -29,7 +29,9 @@ const checkForLog4js = () => { const log4js = checkForLog4js(); const loggerFn = log4js ? log4js.getLogger : () => new Logger(); +const shutdown = log4js ? log4js.shutdown : () => {}; module.exports = { - getLogger: loggerFn + getLogger: loggerFn, + shutdown: shutdown };