Using the log statement will cause a render error if soyhtml.Logger isn't set to a non-nil value. Since logging might be runtime/environment specific, would it make sense to swallow the result of a log block evaluation?
{log}{[][0]}{/log}
The above would still crash to avoid issues "lurking" inside dormant log blocks.
Using the log statement will cause a render error if soyhtml.Logger isn't set to a non-nil value. Since logging might be runtime/environment specific, would it make sense to swallow the result of a log block evaluation?
The above would still crash to avoid issues "lurking" inside dormant log blocks.