[Bug Fix] Fix verbose (#1112)

fix verbose

Co-authored-by: Jason <jiangjiajun@baidu.com>
This commit is contained in:
Jack Zhou
2023-01-11 13:56:51 +08:00
committed by GitHub
parent dd01b3ca0b
commit 60e6a12b93

View File

@@ -63,7 +63,7 @@ class FASTDEPLOY_DECL FDLogger {
FDLogger& operator<<(std::ostream& (*os)(std::ostream&));
~FDLogger() {
if (!verbose_ && line_ != "") {
if (verbose_ && line_ != "") {
std::cout << line_ << std::endl;
#ifdef __ANDROID__
__android_log_print(ANDROID_LOG_INFO, prefix_.c_str(), "%s",