Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Logging

Prefer Final’s logger over ad-hoc $ prints once a controller leaves the bench. Full API: Logging. Example: examples/app-svcs/logging.fnl.

Quick use:

  "btn enable" "" logInfo
  "duty changed" { o:.duty@ "duty" } >json logDebug

Levels: Off, Fatal, Error, Warn, Info, Debug, Trace. Set level and provider once at startup (logger.init). For costly message builds, gate with logDebug? if ... then.