Options
All
  • Public
  • Public/Protected
  • All
Menu

Module core/log

Index

Enumerations

Functions

Functions

default

  • default(modulePath: string, message: unknown, level?: LoggingLevel): void
  • Logs a message to the console, tagging it as a message that is coming from Glean.

    Important

    The message is always logged on the debug level.

    Parameters

    • modulePath: string

      The path to the entity which logging this message. This should be a dotted camel case string, so spaces. Note that whatever path is given here will be prefixed with Glean..

    • message: unknown

      The message to log.

    • level: LoggingLevel = LoggingLevel.Debug

      The level in which to log this message, default is LoggingLevel.Debug.

    Returns void

Generated using TypeDoc