inject() { if (console._original) throw 'Logger already injected!'; let original = { log: console.log, info: console.info, error: console.error, debug: console.debug }; console._original = original; console.log = this._wrap(this.info); console.info = this._wrap(this.warn); console.error = this._wrap(this.severe); console.debug = this._wrap(this.debug); }
(console._original || console).log(stripIndents` ${chalk.gray('----------------------------------------------------------')} ${chalk.gray('==============<') + chalk.yellow(' SharpBot Setup Wizard v1.0 ') + chalk.gray('>==============')}