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