"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.logger = void 0;
exports.loggerWithTag = loggerWithTag;
/** Like harperLogger, but conditionally exports functions based on the log level. */
const harper_logger_js_1 = __importDefault(require("./harper_logger.js"));
exports.logger = {};
for (let level of ['trace', 'debug', 'info', 'warn', 'error', 'fatal', 'notify']) {
    if (harper_logger_js_1.default.logsAtLevel(level)) {
        exports.logger[level] = harper_logger_js_1.default[level];
    }
}
function loggerWithTag(tag) {
    return harper_logger_js_1.default.loggerWithTag(tag, true);
}
//# sourceMappingURL=logger.js.map