import winston from "winston";
export class Logger extends winston.Logger {
}
export function formattedLog(logger, { level, message, at: { location, function: fnName }, data }) {
    if (logger) {
        logger[level]({
            at: `${location}#${fnName}`,
            message,
            ...data,
        });
    }
}
//# sourceMappingURL=LogUtils.js.map