Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Console
    • BufferedConsole

Index

Constructors

constructor

Properties

Console

Private _buffer

_buffer: any

Private _counters

_counters: any

Private _getSourceMaps

_getSourceMaps: any

Private _groupDepth

_groupDepth: any

Private _log

_log: any

Private _timers

_timers: any

memory

memory: any

Static Console

Console: object

Type declaration

  • constructor: function
    • new __type(): Console
    • Returns Console

  • prototype: Console

Methods

assert

  • assert(value: any, message?: string | Error): void
  • Parameters

    • value: any
    • Optional message: string | Error

    Returns void

clear

  • clear(): void
  • Returns void

count

  • count(label?: string): void
  • Parameters

    • Optional label: string

    Returns void

countReset

  • countReset(label?: string): void
  • Parameters

    • Optional label: string

    Returns void

debug

  • debug(firstArg: any, ...rest: Array<any>): void
  • Parameters

    • firstArg: any
    • Rest ...rest: Array<any>

    Returns void

dir

  • dir(firstArg: any, ...rest: Array<any>): void
  • Parameters

    • firstArg: any
    • Rest ...rest: Array<any>

    Returns void

dirxml

  • dirxml(firstArg: any, ...rest: Array<any>): void
  • Parameters

    • firstArg: any
    • Rest ...rest: Array<any>

    Returns void

error

  • error(firstArg: any, ...rest: Array<any>): void
  • Parameters

    • firstArg: any
    • Rest ...rest: Array<any>

    Returns void

exception

  • exception(message?: string, ...optionalParams: any[]): void
  • Parameters

    • Optional message: string
    • Rest ...optionalParams: any[]

    Returns void

getBuffer

  • Returns ConsoleBuffer

group

  • group(title?: string, ...rest: Array<any>): void
  • Parameters

    • Optional title: string
    • Rest ...rest: Array<any>

    Returns void

groupCollapsed

  • groupCollapsed(title?: string, ...rest: Array<any>): void
  • Parameters

    • Optional title: string
    • Rest ...rest: Array<any>

    Returns void

groupEnd

  • groupEnd(): void
  • Returns void

info

  • info(firstArg: any, ...rest: Array<any>): void
  • Parameters

    • firstArg: any
    • Rest ...rest: Array<any>

    Returns void

log

  • log(firstArg: any, ...rest: Array<any>): void
  • Parameters

    • firstArg: any
    • Rest ...rest: Array<any>

    Returns void

markTimeline

  • markTimeline(label?: string): void
  • Parameters

    • Optional label: string

    Returns void

profile

  • profile(reportName?: string): void
  • Parameters

    • Optional reportName: string

    Returns void

profileEnd

  • profileEnd(reportName?: string): void
  • Parameters

    • Optional reportName: string

    Returns void

table

  • table(...tabularData: any[]): void
  • Parameters

    • Rest ...tabularData: any[]

    Returns void

time

  • time(label?: string): void
  • Parameters

    • Optional label: string

    Returns void

timeEnd

  • timeEnd(label?: string): void
  • Parameters

    • Optional label: string

    Returns void

timeLog

  • timeLog(label?: string, ...data: any[]): void
  • For a timer that was previously started by calling {@link console.time()}, prints the elapsed time and other data arguments to stdout.

    Parameters

    • Optional label: string
    • Rest ...data: any[]

    Returns void

timeStamp

  • timeStamp(label?: string): void
  • Parameters

    • Optional label: string

    Returns void

timeline

  • timeline(label?: string): void
  • Parameters

    • Optional label: string

    Returns void

timelineEnd

  • timelineEnd(label?: string): void
  • Parameters

    • Optional label: string

    Returns void

trace

  • trace(message?: any, ...optionalParams: any[]): void
  • Parameters

    • Optional message: any
    • Rest ...optionalParams: any[]

    Returns void

warn

  • warn(firstArg: any, ...rest: Array<any>): void
  • Parameters

    • firstArg: any
    • Rest ...rest: Array<any>

    Returns void

Static write

Generated using TypeDoc