Skip to content

Commit

Permalink
chore: remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
xhyrom committed Jan 29, 2022
1 parent 62d82cb commit 65e0409
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,6 @@ export { Listeners, ListenerManager } from './lib/managers/ListenerManager';
export { Handlers, HandlerManager } from './lib/managers/HandlerManager';

// Logger
/*Logger.useDefaults({
defaultLevel: Logger.TRACE,
formatter: function (messages: any, ctx) {
let color;
if (ctx.level === Logger.TRACE) color = '\x1b[91m';
if (ctx.level === Logger.DEBUG) color = '\x1b[2m';
if (ctx.level === Logger.INFO) color = '\x1b[36m';
if (ctx.level === Logger.TIME) color = '\x1b[97m';
if (ctx.level === Logger.WARN) color = '\x1b[93m';
if (ctx.level === Logger.ERROR) color = '\x1b[91m';
const date = new Date();
messages[0] = `${color}[${date.getHours()}:${date.getMinutes()}:${date.getSeconds()}/${ctx.level.name}]\x1b[0m ${
messages[0]
}`;
},
});*/
export { Logger, LoggerClass } from './lib/structures/Logger';

// Inhibitors
Expand Down

0 comments on commit 65e0409

Please sign in to comment.