Skip to content

Commit

Permalink
chore: fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
david-luna committed Jan 10, 2024
1 parent 9d8cbe3 commit 380a0e2
Showing 1 changed file with 11 additions and 16 deletions.
27 changes: 11 additions & 16 deletions packages/mockotlpserver/lib/luggite.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,19 +438,14 @@ function createLogger(options) {
return new Logger(options);
}

module.exports = {
TRACE: TRACE,
DEBUG: DEBUG,
INFO: INFO,
WARN: WARN,
ERROR: ERROR,
FATAL: FATAL,
resolveLevel: resolveLevel,
levelFromName: levelFromName,
nameFromLevel: nameFromLevel,

createLogger: createLogger,
Logger, // exported only for types, should not be used directly, use `createLogger`
};

// vim: tabstop=4 shiftwidth=4 expandtab
module.exports.TRACE = TRACE;
module.exports.DEBUG = DEBUG;
module.exports.INFO = INFO;
module.exports.WARN = WARN;
module.exports.ERROR = ERROR;
module.exports.FATAL = FATAL;
module.exports.resolveLevel = resolveLevel;
module.exports.levelFromName = levelFromName;
module.exports.nameFromLevel = nameFromLevel;
module.exports.createLogger = createLogger;
module.exports.Logger = Logger; // exported only for types, should not be used directly, use `createLogger`

0 comments on commit 380a0e2

Please sign in to comment.