@@ -49,7 +49,7 @@ void TaskResolver::takeFinished(std::vector<TaskPtr>& result)
49
49
}
50
50
51
51
e_timing_report_detail TaskResolver::getDetailsLevelEnum (const std::string& pathDetailsLevelStr) const {
52
- e_timing_report_detail detailesLevel = e_timing_report_detail::NETLIST ;
52
+ e_timing_report_detail detailesLevel = e_timing_report_detail::INVALID ;
53
53
if (pathDetailsLevelStr == " netlist" ) {
54
54
detailesLevel = e_timing_report_detail::NETLIST;
55
55
} else if (pathDetailsLevelStr == " aggregated" ) {
@@ -59,7 +59,7 @@ e_timing_report_detail TaskResolver::getDetailsLevelEnum(const std::string& path
59
59
} else if (pathDetailsLevelStr == " debug" ) {
60
60
detailesLevel = e_timing_report_detail::DEBUG;
61
61
} else {
62
- std::cerr << " unhandled option" << pathDetailsLevelStr << std::endl ;
62
+ VTR_LOG_ERROR ( " unhandled option" , pathDetailsLevelStr) ;
63
63
}
64
64
return detailesLevel;
65
65
}
@@ -115,12 +115,12 @@ void TaskResolver::processGetPathListTask(ezgl::application*, const TaskPtr& tas
115
115
task->success (msg);
116
116
} else {
117
117
std::string msg{" Critical paths report is empty" };
118
- std::cerr << msg << std::endl ;
118
+ VTR_LOG_ERROR ( msg. c_str ()) ;
119
119
task->fail (msg);
120
120
}
121
121
} else {
122
122
std::string msg{" options errors in get crit path list telegram: " + options.errorsStr ()};
123
- std::cerr << msg << std::endl ;
123
+ VTR_LOG_ERROR ( msg. c_str ()) ;
124
124
task->fail (msg);
125
125
}
126
126
}
@@ -147,12 +147,12 @@ void TaskResolver::processDrawCriticalPathTask(ezgl::application* app, const Tas
147
147
task->success ();
148
148
} else {
149
149
std::string msg{" cannot find ToggleCritPath qcombobox index for item " + highLightMode};
150
- std::cerr << msg << std::endl ;
150
+ VTR_LOG_ERROR ( msg. c_str ()) ;
151
151
task->fail (msg);
152
152
}
153
153
} else {
154
154
std::string msg{" options errors in highlight crit path telegram: " + options.errorsStr ()};
155
- std::cerr << msg << std::endl ;
155
+ VTR_LOG_ERROR ( msg. c_str ()) ;
156
156
task->fail (msg);
157
157
}
158
158
}
0 commit comments