joque
task orchestration library
format.hpp
Go to the documentation of this file.
1 #pragma once
23 
24 #include "records.hpp"
25 #include "run_result.hpp"
26 
27 #include <list>
28 #include <ostream>
29 #include <string_view>
30 
31 namespace joque
32 {
33 
37  std::ostream& os,
38  std::string_view indent,
39  const std::list< output_chunk >& output );
40 
42 void format_run_end( std::ostream& os, const exec_record& erec, const run_record& rec );
43 
44 void format_exec_end( std::ostream& os, const exec_record& erec );
45 
46 void format_status( std::ostream& os, const exec_record& erec, std::string_view name );
47 
48 } // namespace joque
MIT License.
Definition: dag.hpp:27
void format_run_end(std::ostream &os, const exec_record &erec, const run_record &rec)
Formats information about record rec and streams it into os.
void format_status(std::ostream &os, const exec_record &erec, std::string_view name)
void format_exec_end(std::ostream &os, const exec_record &erec)
void format_nested(std::ostream &os, std::string_view indent, const std::list< output_chunk > &output)
Assumes that msg is multiline message, streams each line into os, and prefixes each line with indent ...
Record of execution of entire task set.
Definition: records.hpp:90
Record storing information about a run of one task, produced during single execution once for each ta...
Definition: records.hpp:55