Options
All
  • Public
  • Public/Protected
  • All
Menu

The LoggerFactory is a utility class producing Loggers for various logging APIs.

Hierarchy

  • LoggerFactory

Index

Methods

  • enableLogger(enable: boolean): void
  • Enable logger.

    Parameters

    • enable: boolean

      True to enable logger, false to disable.

    Returns void

  • setLogLevel(level: "error" | "debug" | "info" | "warn"): void
  • Set the logging level.

    The default logging level is 'error', which means only 'error' log will be enabled.

    Parameters

    • level: "error" | "debug" | "info" | "warn"

      The logging level to set

    Returns void

Generated using TypeDoc