From 4b869669cc2f7d47579cb179767cc56f299932c1 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 12 Oct 2019 09:02:13 -0500 Subject: hscript: Use Agent.MessageFormat for logging --- hscript/script.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'hscript') 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); } -- cgit v1.2.3-70-g09d2