Simple logger used for both CLI and browser use.

Constructors

Methods

  • Normal debug logging. Enabled only if debug is enabled.

    Parameters

    • Rest...parms: any[]

      logging parameters

    Returns void

  • Error logging. Enabled unless in silent mode.

    Parameters

    • Rest...parms: any[]

      logging parameters

    Returns void

  • "Fatal" logging. Enabled unless in silent mode.

    Parameters

    • Rest...parms: any[]

      logging parameters

    Returns void

  • Info logging. Enabled by default.

    Parameters

    • Rest...parms: any[]

      logging parameters

    Returns void

  • Standard console logging.

    Parameters

    • Rest...parms: any[]

      logging parameters

    Returns void

  • Turn off all logging other than error.

    Returns void

  • Chatty debug logging. Enabled only if debug is enabled.

    Parameters

    • Rest...parms: any[]

      logging parameters

    Returns void

  • Warning logging. Enabled by default.

    Parameters

    • Rest...parms: any[]

      logging parameters

    Returns void