Toggle menu

Logging

Generate logging. Includes "log" and "debug".

log

Simple console.log()

Parameters

None.

Example

{{log "Hi console :)"}} Hi console :)

debug

Simple console.debug() that shows the current context.

Parameters

None.

Example

collection = [ name: 'Leela' deliveries: 8021 , name: 'Bender' deliveries: 239 , name: 'Fry' deliveries: 1 ]

{{#withFirst collection}}
  {{debug name}}
{{/withFirst}}

Result

Context: { deliveries: 8021, name: "Leela" }
Value: Leela

Last modified on May 31, 2022

Share this page

Facebook icon Twitter icon email icon

Print

print icon