A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
a11::flow::graph::LogTail Struct Reference

One resolved pipeline stage. More...

#include <cpp/a11/flow/graph.h>

Public Attributes

std::string level
 The level, canonically spelled, or empty for the default.
 
std::string format
 logf's format. Empty and has_format false for a log.
 
bool has_format = false
 
std::vector< ExprId > arguments
 What to log, or what fills the format. Empty in a stage means it.
 
int line = 0
 The line it was written on, which the log carries so a consumer can point at it.
 

Detailed Description

One resolved pipeline stage.

takes says which field carries the argument, and it comes from the vocabulary rather than being decided here: the stage table is the one table. kAt is the one stage the grammar has no spelling for – it is what x.field and x[0] over a stream compile to, taking the field out of each value. What a resolved log/logf was written with, in a statement or a stage.

The resolved twin of [syntax::LogTail], and one struct for both places for the same reason: log warning it.error means the same thing wherever it stands, so the runtime reads it out of one shape.

Member Data Documentation

◆ arguments

std::vector<ExprId> a11::flow::graph::LogTail::arguments

What to log, or what fills the format. Empty in a stage means it.

◆ format

std::string a11::flow::graph::LogTail::format

logf's format. Empty and has_format false for a log.

◆ has_format

bool a11::flow::graph::LogTail::has_format = false

◆ level

std::string a11::flow::graph::LogTail::level

The level, canonically spelled, or empty for the default.

◆ line

int a11::flow::graph::LogTail::line = 0

The line it was written on, which the log carries so a consumer can point at it.

There is no path to go with it: a plan does not know where it was read from, and a flow's name is not a file.


The documentation for this struct was generated from the following file: