Closed thekid closed 3 years ago
The log helper will echo the arguments passed to it:
log
{{log user}} {{log "User profile:" user}}
When using the development webserver, this shows the debug page:
In production environments, logs will end up on the server's standard output:
:shipit: Released in https://github.com/xp-forge/handlebars-templates/releases/tag/v0.4.0
The
log
helper will echo the arguments passed to it:When using the development webserver, this shows the debug page:
In production environments, logs will end up on the server's standard output: