UNPKG

@tsed/logger

Version:
15 lines 624 B
import { __decorate } from "tslib"; import { BaseLayout } from "../class/BaseLayout.js"; import { Layout } from "../decorators/layout.js"; import { StringUtils } from "../utils/StringUtils.js"; let MessagePassThroughLayout = class MessagePassThroughLayout extends BaseLayout { transform(loggingEvent, timezoneOffset) { // @ts-ignore return StringUtils.format(...[].concat(loggingEvent.data)); } }; MessagePassThroughLayout = __decorate([ Layout({ name: "messagePassThrough" }) ], MessagePassThroughLayout); export { MessagePassThroughLayout }; //# sourceMappingURL=MessagePassThroughLayout.js.map