mirror of
https://github.com/apache/arrow.git
synced 2026-10-28 16:47:19 +08:00
reduce logging
This commit is contained in:
1 parent
2ff24804ea
commit
f970df3584
1 file changed
+4
-2
@@ -113,8 +113,10 @@ class CerrLog {
|
||||
|
||||
template <class T>
|
||||
CerrLog& operator<<(const T& t) {
|
||||
has_logged_ = true;
|
||||
std::cerr << t;
|
||||
if (severity_ != ARROW_DEBUG) {
|
||||
has_logged_ = true;
|
||||
std::cerr << t;
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user