BaseLayout
@tsed/logger
Usage
typescript
import { BaseLayout } from "@tsed/logger";
See /packages/logger/src/types/common/layouts/class/BaseLayout.ts.
Overview
ts
abstract class BaseLayout {
protected config: BasicLayoutConfiguration;
constructor(config: BasicLayoutConfiguration);
abstract transform(loggingEvent: LogEvent, timezoneOffset?: number): string;
}
protected config
ts
protected config: BasicLayoutConfiguration;
abstract transform
ts
abstract transform(loggingEvent: LogEvent, timezoneOffset?: number): string;