Class LambdaLogger

Manage structured logging in the context of a Lambda function. Note: the log level is controlled by each Lambda function's configuration.

Constructors

Methods

  • Parameters

    • summary: string
    • content: object = {}

    Returns void

  • Parameters

    • summary: string
    • error: any
    • content: object = {}

    Returns void

  • Parameters

    • summary: string
    • content: object = {}

    Returns void

  • Parameters

    • logLevel:
          | "TRACE"
          | "DEBUG"
          | "INFO"
          | "WARN"
          | "ERROR"
          | "FATAL"

    Returns boolean

  • Parameters

    • summary: string
    • content: object = {}

    Returns void

  • Parameters

    • summary: string
    • error: any
    • content: object = {}

    Returns void