aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/log.h
diff options
context:
space:
mode:
authorJannis Harder <me@jix.one>2022-11-28 19:03:27 +0100
committerJannis Harder <me@jix.one>2022-12-02 14:36:19 +0100
commited02d52f30d3c2b3d6a4ba0e8234cc07c78889dc (patch)
treedc5d08a53f3361f1c0c5e3edca75030a8d5c6de1 /kernel/log.h
parenta64ed824ed6fadf24cf2871d7752f63ab6613c8b (diff)
downloadyosys-ed02d52f30d3c2b3d6a4ba0e8234cc07c78889dc.tar.gz
yosys-ed02d52f30d3c2b3d6a4ba0e8234cc07c78889dc.tar.bz2
yosys-ed02d52f30d3c2b3d6a4ba0e8234cc07c78889dc.zip
tee: Allow logging command output to a given scratchpad value
Diffstat (limited to 'kernel/log.h')
-rw-r--r--kernel/log.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/log.h b/kernel/log.h
index 822816cb4..35368a683 100644
--- a/kernel/log.h
+++ b/kernel/log.h
@@ -133,6 +133,7 @@ struct log_cmd_error_exception { };
extern std::vector<FILE*> log_files;
extern std::vector<std::ostream*> log_streams;
+extern std::vector<std::string> log_scratchpads;
extern std::map<std::string, std::set<std::string>> log_hdump;
extern std::vector<YS_REGEX_TYPE> log_warn_regexes, log_nowarn_regexes, log_werror_regexes;
extern std::set<std::string> log_warnings, log_experimentals, log_experimentals_ignored;