Skip to content

Logging

Giorgio Garofalo edited this page Oct 15, 2024 · 2 revisions

Quarkdown features ways to log content to standard channels.

  • .log {message} logs to stdout at info level (-Dloglevel=info or below);
  • .debug {message} logs to stdout at debug level (-Dloglevel=debug or below);
  • .error {message} throws a runtime error, which is then handled according to the error manager:
    • By default, the error message is logged to stderr (-Dloglevel=error or below) and an error box is shown in the document;
    • If the program was executed in strict mode (--strict), a full stack trace is logged to stderr and the program exits.

Documentation

CLI tools

Markdown enhancements

Functions

Setting up

Multi-file projects

Layout

Charts & diagrams

Scripting & control flow

Utilities

Slides

I/O

Value types

Built-in libraries

  • Paper: abstract, definitions, theorems, and more

Native content

Extra features

Inside Quarkdown

Clone this wiki locally