"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "LoggerService", {
    enumerable: true,
    get: function() {
        return LoggerService;
    }
});
const _staticlogger = require("./logging/static.logger");
class LoggerService {
    name;
    logger;
    constructor(name){
        this.name = name;
        this.logger = (0, _staticlogger.getStaticLogger)().child({
            [_staticlogger.logContextClassProperty]: this.name
        });
    }
    newDebug(object) {
        this.logger.debug(object);
    }
    log(message, meta) {
        this.logger.log("info", message, meta);
    }
    warn(message, meta) {
        this.logger.log("warn", message, meta);
    }
    debug(message, meta) {
        this.logger.log("debug", message, meta);
    }
    error(message, meta) {
        this.logger.log("error", message, meta);
    }
}

//# sourceMappingURL=logger.js.map