Gadgets (v0.9)

NeedsExamples

gadgets

Namespace for top-level people functions.

Methods

gadgets.log

;<static> gadgets.log(message)

Parameters
NameTypeDescription |

message

Object

The message to log

Description
Log an informational message.

gadgets.warn

;<static> gadgets.warn(message)

Parameters
NameTypeDescription |

message

Object

The message to log

Description
Log a warning message.

gadgets.error

;<static> gadgets.error(message)

Parameters
NameTypeDescription |

message

Object

The message to log

Description
Log an error message.

gadgets.setLogLevel

;<static> gadgets.setLogLevel(logLevel)

Parameters
NameTypeDescription |

logLevel

Number

New log level threshold.

Description
Sets the log level threshold.

{{ JsApiAlphaList_(v0.9) }}