mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 16:48:03 +08:00
[Bug Fix] Fix verbose (#1112)
fix verbose Co-authored-by: Jason <jiangjiajun@baidu.com>
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user