UNPKG

@tsed/logger

Version:
14 lines 507 B
import { __decorate } from "tslib"; import { BaseLayout } from "../class/BaseLayout.js"; import { Layout } from "../decorators/layout.js"; import { logEventToObject } from "../utils/logEventToObject.js"; let ObjectLayout = class ObjectLayout extends BaseLayout { transform(loggingEvent, timezoneOffset) { return logEventToObject(loggingEvent); } }; ObjectLayout = __decorate([ Layout({ name: "object" }) ], ObjectLayout); export { ObjectLayout }; //# sourceMappingURL=ObjectLayout.js.map