console

console

Source:

Methods

(static) assert(ok, val) → {void}

Source:

If ok is true, output val as StdErr

Parameters:
Name Type Description
ok boolean
val *
Returns:
Type
void

(static) debug(val) → {void}

Source:

Only display If WSH_ENV=development defining in process.env.

Parameters:
Name Type Description
val *
Returns:
Type
void

(static) dir(val) → {void}

Source:

Output parsed val as StdOut

Parameters:
Name Type Description
val *
Returns:
Type
void

(static) error(val) → {void}

Source:

Output val as StdErr

Parameters:
Name Type Description
val *
Returns:
Type
void

(static) info(val) → {void}

Source:

Output val as StdOut

Parameters:
Name Type Description
val *
Returns:
Type
void

(static) log(val) → {void}

Source:
Parameters:
Name Type Description
val *
Returns:
Type
void

(static) popup(val, dispSecopt, btnCodeopt, icoCodeopt) → {void}

Source:

Popup a window

Parameters:
Name Type Attributes Default Description
val *
dispSec number <optional>
0
btnCode number <optional>
0
icoCode number <optional>
64

Icon Type. 16: Stop, 32: Question, 48: Exclamation, 64: Information

Returns:
Type
void