@toreda/log
Version:
Lightweight TypeScript logger with flexible custom transports.
17 lines (16 loc) • 484 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isLogOptionsGroup = void 0;
const global_1 = require("../state/global");
function isLogOptionsGroup(options) {
if ((options === null || options === void 0 ? void 0 : options.state) == null) {
return false;
}
if (options.state instanceof global_1.LogStateGlobal) {
return true;
}
else {
return false;
}
}
exports.isLogOptionsGroup = isLogOptionsGroup;