# log/debug
Log a debug message. Written to /tmp/deft.log; not surfaced to the workspace error console.
## Syntax
[log/debug ...] [debug ...]
## Notes
The `[debug ...]` macro (from `stdext/logging.dft`, auto-loaded at startup)
is the preferred entry point. It checks `DEFT_LOG_LEVEL` at runtime and
suppresses the message when the level excludes debug logging.
See `help/logging.md` for details.
## See Also
`help/logging.md`, `info`, `warn`, `error`