diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-12 09:02:13 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-12 09:02:13 -0500 |
commit | 4b869669cc2f7d47579cb179767cc56f299932c1 (patch) | |
tree | 75c8097e8433aa503a255cff45da2f88e8fe62bb /hscript | |
parent | 6e80e6b3cffaf42723c61443244e04977a0fe8ed (diff) | |
download | horizon-4b869669cc2f7d47579cb179767cc56f299932c1.tar.gz horizon-4b869669cc2f7d47579cb179767cc56f299932c1.tar.bz2 horizon-4b869669cc2f7d47579cb179767cc56f299932c1.tar.xz horizon-4b869669cc2f7d47579cb179767cc56f299932c1.zip |
hscript: Use Agent.MessageFormat for logging
Diffstat (limited to 'hscript')
-rw-r--r-- | hscript/script.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/hscript/script.cc b/hscript/script.cc index e324356..9edf0cc 100644 --- a/hscript/script.cc +++ b/hscript/script.cc @@ -296,9 +296,9 @@ const Script *Script::load(std::istream &sstream, const ScriptOptions opts) { } #undef MISSING_ERROR - output_message("parser", "0", "installfile", - std::to_string(errors) + " error(s), " + - std::to_string(warnings) + " warning(s).", ""); + output_log("parser", "0", "installfile", + std::to_string(errors) + " error(s), " + + std::to_string(warnings) + " warning(s).", ""); if(errors > 0) { delete the_script; @@ -373,8 +373,8 @@ bool Script::validate() const { } } - output_message("validator", "0", "installfile", - std::to_string(failures) + " failure(s).", ""); + output_log("validator", "0", "installfile", + std::to_string(failures) + " failure(s).", ""); return (failures == 0); } |