Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ZBLogger

Hierarchy

  • ZBLogger

Index

Constructors

constructor

Properties

_tag

_tag: "ZBCLIENT" | "ZBWORKER"

Private colorFn

colorFn: Chalk

Private colorise

colorise: boolean

Private Optional id

id: string

loglevel

loglevel: Loglevel

Private namespace

namespace: undefined | string

Private Optional pollInterval

pollInterval: MaybeTimeDuration

Private stdout

stdout: any

Private Optional taskType

taskType: string

Methods

Private _colorise

  • _colorise(message: string): string

debug

  • debug(message: any, ...optionalParameters: any[]): void

error

  • error(message: any, ...optionalParameters: any[]): void

info

  • info(message: any, ...optionalParameters: any[]): void

log

  • log(message: any, ...optionalParameters: any[]): void

Private makeMessage

  • makeMessage(frame: StackFrame, level: number, message: any, ...optionalParameters: any[]): string
  • Parameters

    • frame: StackFrame
    • level: number
    • message: any
    • Rest ...optionalParameters: any[]

    Returns string

Generated using TypeDoc