UNPKG

@gabliam/log4js

Version:
19 lines (18 loc) 558 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Log4jsPlugin = void 0; const tslib_1 = require("tslib"); const core_1 = require("@gabliam/core"); const log4js_1 = require("./log4js"); let Log4jsPlugin = class Log4jsPlugin { async destroy(container, registry) { return new Promise(resolve => { log4js_1.log4js.shutdown(() => resolve()); }); } }; Log4jsPlugin = tslib_1.__decorate([ (0, core_1.Plugin)(), (0, core_1.Scan)() ], Log4jsPlugin); exports.Log4jsPlugin = Log4jsPlugin;