|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
What a log or logf was written with, wherever it was written.
More...
#include <cpp/a11/flow/syntax.h>
Public Attributes | |
| Word | level |
| The level as written, or empty for the default. | |
| std::string | format |
logf's format, with escapes resolved. Empty for a log. | |
| bool | has_format = false |
Whether a format was written at all, which tells logf "" from log. | |
| std::vector< NodePtr > | arguments |
What to log, or what fills the format. it is bound inside a stage. | |
What a log or logf was written with, wherever it was written.
One struct for the statement and the stage because they take the same thing: log warning it.error reads the same at the top of an if and after a |, and one shape is what keeps them from drifting into two dialects. format is empty for a log and holds the format for a logf; arguments is what fills it, and for a log holds at most the one value to log.
| std::vector<NodePtr> a11::flow::syntax::LogTail::arguments |
What to log, or what fills the format. it is bound inside a stage.
| std::string a11::flow::syntax::LogTail::format |
logf's format, with escapes resolved. Empty for a log.
| bool a11::flow::syntax::LogTail::has_format = false |
Whether a format was written at all, which tells logf "" from log.
| Word a11::flow::syntax::LogTail::level |
The level as written, or empty for the default.
See [vocabulary::LogLevels].