Options
All
  • Public
  • Public/Protected
  • All
Menu

Logging service client API.

Hierarchy

  • LoggingService

Index

Methods

Methods

  • log(prefix: Prefix, level: Level, message: string, metadata?: Record<string, any>): Promise<"Done">
  • Writes the given message of the given level for the component

    Parameters

    • prefix: Prefix

      the Prefix of the component

    • level: Level

      the log Level. Example - INFO, TRACE etc

    • message: string

      the message to be logged

    • Optional metadata: Record<string, any>

      optional key-value pairs to be logged along with message

    Returns Promise<"Done">

    Done as Promise

Generated using TypeDoc