| 238 | } |
| 239 | |
| 240 | void OSWorkflow::saveIDFToRootDirIfDebug() { |
| 241 | if (!workflowJSON.runOptions() || !workflowJSON.runOptions()->debug()) { |
| 242 | return; |
| 243 | } |
| 244 | LOG(Info, "Saving IDF to Root Directory"); |
| 245 | auto savePath = workflowJSON.absoluteRootDir() / "in.idf"; |
| 246 | detailedTimeBlock("Saving IDF To Root Directory (debug)", [this, &savePath]() { |
| 247 | // TODO: workflow gem was actually serializating via model.to_s for speed... |
| 248 | workspace_->save(savePath, true); |
| 249 | }); |
| 250 | LOG(Info, "Saved IDF as " << savePath); |
| 251 | } |
| 252 | |
| 253 | void standardFormatterWithStringSeverity(boost::log::record_view const& rec, boost::log::formatting_ostream& strm) { |
| 254 |
nothing calls this directly
no test coverage detected