@tsed/logger
Version:
A multi channel logger written in TypeScript.
14 lines • 507 B
JavaScript
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