feat: 再添加一些日志

This commit is contained in:
MistEO
2022-09-29 22:57:47 +08:00
parent 9d1547a150
commit 24ea6ce17c
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ bool asst::MatchImageAnalyzer::analyze()
{
const cv::Mat templ = m_templ_name.empty() ? m_templ : TemplResource::get_instance().get_templ(m_templ_name);
if (templ.empty()) {
Log.error("templ is empty!");
Log.error("templ is empty!", m_templ_name);
return false;
}
return match_templ(templ);

View File

@@ -21,7 +21,7 @@ bool asst::MultiMatchImageAnalyzer::analyze()
const cv::Mat templ = TemplResource::get_instance().get_templ(m_templ_name);
if (templ.empty()) {
Log.error("templ is empty!");
Log.error("templ is empty!", m_templ_name);
return false;
}