mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 00:57:33 +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& operator<<(std::ostream& (*os)(std::ostream&));
|
||||||
|
|
||||||
~FDLogger() {
|
~FDLogger() {
|
||||||
if (!verbose_ && line_ != "") {
|
if (verbose_ && line_ != "") {
|
||||||
std::cout << line_ << std::endl;
|
std::cout << line_ << std::endl;
|
||||||
#ifdef __ANDROID__
|
#ifdef __ANDROID__
|
||||||
__android_log_print(ANDROID_LOG_INFO, prefix_.c_str(), "%s",
|
__android_log_print(ANDROID_LOG_INFO, prefix_.c_str(), "%s",
|
||||||
|
Reference in New Issue
Block a user