Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Logger

Hierarchy

  • Logger

Index

Properties

messageFormat: string
tzOffset: number

Constructors

Methods

  • warn(message: string): void
  • info(message: string): void
  • debug(message: string): void
  • error(message: string): void
  • format(message: string, level: string): string
  • setLevel(level: string): void
  • _log(level: LogLevel, message: string, color: string): void
  • log(level: LogLevel, message: string, color: string): void
  • Override this function for custom Logger.

    remarks

    use this.isBrowser to check and handle for different environment.

    Parameters

    • level: LogLevel
    • message: string
    • color: string

    Returns void

  • getDateTime(): string

Accessors

Generated using TypeDoc