Options
All
  • Public
  • Public/Protected
  • All
Menu

Used by the framework to report errors, warnings and messages. By default, these messages are written to console.info/err/warn

You can customize where this information is sent by calling Logger.setLogger() and passing an ILogger implementation.

Index

Functions

getInstance

  • Get the current Logger instance.

    Returns ILogger

logError

  • logError(...msg: unknown[]): void
  • Method used to log errors.

    Parameters

    • Rest ...msg: unknown[]

    Returns void

logInfo

  • logInfo(...msg: unknown[]): void
  • Method used to log info messages.

    Parameters

    • Rest ...msg: unknown[]

    Returns void

logWarning

  • logWarning(...msg: unknown[]): void
  • Method used to log warnings.

    Parameters

    • Rest ...msg: unknown[]

    Returns void

setLogger

  • Set the instance that should be used for logging.

    Parameters

    Returns void

Generated using TypeDoc