import { __assign, __extends } from "tslib";
import winston from "winston";
var Logger = /** @class */ (function (_super) {
    __extends(Logger, _super);
    function Logger() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    return Logger;
}(winston.Logger));
export { Logger };
export function formattedLog(logger, _a) {
    var level = _a.level, message = _a.message, _b = _a.at, location = _b.location, fnName = _b.function, data = _a.data;
    if (logger) {
        logger[level](__assign({ at: "".concat(location, "#").concat(fnName), message: message }, data));
    }
}
//# sourceMappingURL=LogUtils.js.map