Skip to content

ContextLoggerOptions

@tsed/di

Usage

typescript
import { ContextLoggerOptions } from "@tsed/di";

See /packages/di/src/types/node/domain/ContextLogger.ts.

Overview

ts
interface ContextLoggerOptions extends Record<string, any> {
    id: string;
    logger?: DILogger;
    level?: "debug" | "info" | "warn" | "error" | "off" | "all";
    maxStackSize?: number;
    additionalProps?: Record<any, any>;
}

id

ts
id: string;

logger

ts
logger?: DILogger;

level

ts
level?: "debug" | "info" | "warn" | "error" | "off" | "all";

maxStackSize

ts
maxStackSize?: number;

additionalProps

ts
additionalProps?: Record<any, any>;

Released under the MIT License.