@minimaltech/node-infra
Version:
Minimal Technology NodeJS Infrastructure - Loopback 4 Framework
32 lines • 693 B
JavaScript
;
var _a;
Object.defineProperty(exports, "__esModule", { value: true });
exports.LogLevels = void 0;
class LogLevels {
static isValid(input) {
return this.SCHEME_SET.has(input);
}
}
exports.LogLevels = LogLevels;
_a = LogLevels;
LogLevels.ERROR = 'error';
LogLevels.ALERT = 'alert';
LogLevels.EMERG = 'emerg';
LogLevels.WARN = 'warn';
LogLevels.INFO = 'info';
LogLevels.HTTP = 'http';
LogLevels.VERBOSE = 'verbose';
LogLevels.DEBUG = 'debug';
LogLevels.SILLY = 'silly';
LogLevels.SCHEME_SET = new Set([
_a.ERROR,
_a.ALERT,
_a.EMERG,
_a.WARN,
_a.INFO,
_a.HTTP,
_a.VERBOSE,
_a.DEBUG,
_a.SILLY,
]);
//# sourceMappingURL=types.js.map