Skip to content

Latest commit

 

History

History
303 lines (152 loc) · 4.19 KB

File metadata and controls

303 lines (152 loc) · 4.19 KB

elections-cpl.api.hscc.bdpa.orgDocs


elections-cpl.api.hscc.bdpa.org / lib/debug-extended / ExtendedDebug

Interface: ExtendedDebug()

A Debug factory interface that returns ExtendedDebugger instances.

Extends

ExtendedDebug(...args): ExtendedDebugger

Parameters

• ...args: [string]

Returns

ExtendedDebugger

Source

lib/debug-extended/index.ts:10

ExtendedDebug(namespace): Debugger

Parameters

namespace: string

Returns

Debugger

Source

lib/debug-extended/index.ts:9

Properties

coerce()

coerce: (val) => any

Parameters

val: any

Returns

any

Inherited from

Debug.coerce

Source

node_modules/@types/debug/index.d.ts:9


disable()

disable: () => string

Returns

string

Inherited from

Debug.disable

Source

node_modules/@types/debug/index.d.ts:10


enable()

enable: (namespaces) => void

Parameters

namespaces: string

Returns

void

Inherited from

Debug.enable

Source

node_modules/@types/debug/index.d.ts:11


enabled()

enabled: (namespaces) => boolean

Parameters

namespaces: string

Returns

boolean

Inherited from

Debug.enabled

Source

node_modules/@types/debug/index.d.ts:12


formatArgs()

formatArgs: (this, args) => void

Parameters

this: Debugger

args: any[]

Returns

void

Inherited from

Debug.formatArgs

Source

node_modules/@types/debug/index.d.ts:13


formatters

formatters: Formatters

Inherited from

Debug.formatters

Source

node_modules/@types/debug/index.d.ts:21


humanize()

humanize: (value, options?) => string(value) => number

Short/Long format for value.

Parameters

value: number

options?

options.long?: boolean

Returns

string

Parse the given value and return milliseconds.

Parameters

value: string

Returns

number

Inherited from

Debug.humanize

Source

node_modules/@types/debug/index.d.ts:16


inspectOpts?

optional inspectOpts: object

colors?

optional colors: null | number | boolean

depth?

optional depth: null | number | boolean

hideDate?

optional hideDate: null | number | boolean

showHidden?

optional showHidden: null | number | boolean

Inherited from

Debug.inspectOpts

Source

node_modules/@types/debug/index.d.ts:23


log()

log: (...args) => any

Parameters

• ...args: any[]

Returns

any

Inherited from

Debug.log

Source

node_modules/@types/debug/index.d.ts:14


names

names: RegExp[]

Inherited from

Debug.names

Source

node_modules/@types/debug/index.d.ts:18


selectColor()

selectColor: (namespace) => string | number

Parameters

namespace: string

Returns

string | number

Inherited from

Debug.selectColor

Source

node_modules/@types/debug/index.d.ts:15


skips

skips: RegExp[]

Inherited from

Debug.skips

Source

node_modules/@types/debug/index.d.ts:19