interface Logger {
    debug(message: any, context?: string): void;
    debug(message: any, ...optionalParams: any[]): void;
    error(message: any, stack?: string, context?: string): void;
    error(message: any, ...optionalParams: any[]): void;
    log(message: any, context?: string): void;
    log(message: any, ...optionalParams: any[]): void;
    setContext(context: string): void;
    warn(message: any, context?: string): void;
    warn(message: any, ...optionalParams: any[]): void;
}

Hierarchy

  • Pick<NestJSLogger,
        | "error"
        | "log"
        | "warn"
        | "debug">
    • Logger

Methods

  • Write a 'debug' level log.

    Parameters

    • message: any
    • Optionalcontext: string

    Returns void

  • Write a 'debug' level log.

    Parameters

    • message: any
    • Rest...optionalParams: any[]

    Returns void

  • Write an 'error' level log.

    Parameters

    • message: any
    • Optionalstack: string
    • Optionalcontext: string

    Returns void

  • Write an 'error' level log.

    Parameters

    • message: any
    • Rest...optionalParams: any[]

    Returns void

  • Write a 'log' level log.

    Parameters

    • message: any
    • Optionalcontext: string

    Returns void

  • Write a 'log' level log.

    Parameters

    • message: any
    • Rest...optionalParams: any[]

    Returns void

  • Write a 'warn' level log.

    Parameters

    • message: any
    • Optionalcontext: string

    Returns void

  • Write a 'warn' level log.

    Parameters

    • message: any
    • Rest...optionalParams: any[]

    Returns void