Support disable logging information (#254)

* Support disable logging information

* Support disable logging information
This commit is contained in:
Jason
2022-09-20 15:44:10 +08:00
committed by GitHub
parent 9c150f0bfb
commit 74f1143aba
8 changed files with 39 additions and 17 deletions

View File

@@ -38,7 +38,7 @@ class FASTDEPLOY_DECL TimeCounter {
if (!print_out) {
return;
}
FDLogger() << prefix << " duration = " << Duration() << "s." << std::endl;
std::cout << prefix << " duration = " << Duration() << "s." << std::endl;
}
private: