/
For the complete documentation index, see llms.txt. This page is also available as Markdown.
Quarkdown provides several ways to log content to standard channels, which can be useful for debugging and error handling.
.log {message} logs a message to stdout at the info level. This output appears when you run the compiler with --log-level info (or the QD_LOG_LEVEL environment variable) or a lower threshold.
.debug {message} logs a message to stdout at the debug level. This output appears when you run the compiler with --log-level debug or a lower threshold.
.error {message} throws a runtime error, which the error manager then handles according to the current mode:
error log level or a lower threshold is set) and an error box appears in the document.--strict), a full stack trace is logged to stderr and the program exits.