Options
All
  • Public
  • Public/Protected
  • All
Menu

(You should not use this class directly)

This is an internal class used to manage the actual logging.

This simply calls the corresponding console method to log in the browser console.

Hierarchy

  • Display

Index

Constructors

Methods

Constructors

constructor

Methods

Static msg

  • msg(message: string, params: any[], moduleName: string, moduleColor: string, level: Level, moduleWidth: number): void
  • Method that acts as a proxy to the console

    Parameters

    • message: string

      The initial string after the moduleName; this will be enclosed in a rectangular border of the corresponding color

    • params: any[]

      Topically the objects to log

    • moduleName: string

      The name of the logger

    • moduleColor: string

      The color associated to the logger

    • level: Level

      Type of log (i.e. DEBUG, INFO, etc...)

    • moduleWidth: number

      Width of the logger name. If the moduleName is less than this spaces will be added as padding.

    Returns void

Generated using TypeDoc