Constructors

Properties

#secretsToMask: string[] = []
debug: (<T>(item, description?, ...extra) => undefined | (() => void)) = ...

Type declaration

    • <T>(item, description?, ...extra): undefined | (() => void)
    • Type Parameters

      • T = string

      Parameters

      • item: unknown
      • Optional description: T
      • Rest ...extra: unknown[]

      Returns undefined | (() => void)

error: (<T>(item, description?, ...extra) => undefined | (() => void)) = ...

Type declaration

    • <T>(item, description?, ...extra): undefined | (() => void)
    • Type Parameters

      • T = string

      Parameters

      • item: unknown
      • Optional description: T
      • Rest ...extra: unknown[]

      Returns undefined | (() => void)

fatal: (<T>(item, description?, ...extra) => undefined | (() => void)) = ...

Type declaration

    • <T>(item, description?, ...extra): undefined | (() => void)
    • Type Parameters

      • T = string

      Parameters

      • item: unknown
      • Optional description: T
      • Rest ...extra: unknown[]

      Returns undefined | (() => void)

info: (<T>(item, description?, ...extra) => undefined | (() => void)) = ...

Type declaration

    • <T>(item, description?, ...extra): undefined | (() => void)
    • Type Parameters

      • T = string

      Parameters

      • item: unknown
      • Optional description: T
      • Rest ...extra: unknown[]

      Returns undefined | (() => void)

options: LoggerOptions
warn: (<T>(item, description?, ...extra) => undefined | (() => void)) = ...

Type declaration

    • <T>(item, description?, ...extra): undefined | (() => void)
    • Type Parameters

      • T = string

      Parameters

      • item: unknown
      • Optional description: T
      • Rest ...extra: unknown[]

      Returns undefined | (() => void)

Methods

  • Parameters

    • Rest ...secrets: (undefined | string)[]

    Returns void

  • Returns FastifyBaseLogger

  • Type Parameters

    • T = string

    Parameters

    • level: "debug" | "trace" | "info" | "warn" | "error" | "fatal" | "silent"
    • item: unknown
    • Optional description: T
    • Rest ...extra: unknown[]

    Returns undefined | (() => void)

  • Parameters

    • level: "debug" | "trace" | "info" | "warn" | "error" | "fatal" | "silent"

    Returns (<T>(item, description?, ...extra) => undefined | (() => void))

      • <T>(item, description?, ...extra): undefined | (() => void)
      • Type Parameters

        • T = string

        Parameters

        • item: unknown
        • Optional description: T
        • Rest ...extra: unknown[]

        Returns undefined | (() => void)