mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 16:32:21 +08:00
16 lines
543 B
Diff
16 lines
543 B
Diff
diff --git cpp/src/arrow/util/logging.cc cpp/src/arrow/util/logging.cc
|
|
index e54a10e52..3dbfc7a12 100644
|
|
--- cpp/src/arrow/util/logging.cc
|
|
+++ cpp/src/arrow/util/logging.cc
|
|
@@ -84,7 +84,9 @@ typedef google::LogMessage LoggingProvider;
|
|
typedef CerrLog LoggingProvider;
|
|
#endif
|
|
|
|
+#if !defined(_WIN32) || defined(ARROW_STATIC) || defined(ARROW_EXPORTING) || !defined(ARROW_EXPORT)
|
|
ArrowLogLevel ArrowLog::severity_threshold_ = ArrowLogLevel::ARROW_INFO;
|
|
+#endif
|
|
// Keep the log directory.
|
|
static std::unique_ptr<std::string> log_dir_;
|
|
|
|
--
|