@webbio/viper-core-utils
Version:
Webbio's error interface which is used in the Viper Project
23 lines • 578 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class Initialize {
/**
* Initialize the library
* @param library The logging library
*/
static initializeWithLibary(library) {
if (!Initialize.instance) {
Initialize.instance = new Initialize();
}
this.library = library;
return Initialize.instance;
}
/**
* Get the logging library
*/
static getLoggingLibrary() {
return this.library;
}
}
exports.default = Initialize;
//# sourceMappingURL=init.js.map