-
Notifications
You must be signed in to change notification settings - Fork 7
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.
- By default, the error message is logged to stderr (
- Syntax of a function call
- Declaring functions
- Dynamic typing
- Localization
- Including other Quarkdown files
- Importing external libraries
- Document metadata
- Theme
- Page format
- Page margin content
- Page counter
- Automatic page break
- Numbering
- Table of contents
- Stacks (row, column, grid)
- Align
- Container
- Box
- Collapsible
- Whitespace
- String
- Number
- Markdown content
- Boolean
- Enumeration entry
- Iterable
- Dictionary
- Range
- Lambda
- Size(s)
- Color
- Dynamic