# log/error Log an error. Written to /tmp/deft.log and the workspace error console. ## Syntax
[log/error ...]
[error ...]
## Notes The `[error ...]` 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 error logging. See `help/logging.md` for details. ## See Also `help/logging.md`, `debug`, `info`, `warn`