From 56f97aa07b79aff8a74baabde44ab49c5531562c Mon Sep 17 00:00:00 2001 From: Cai Yudong Date: Tue, 19 Oct 2021 17:10:35 +0800 Subject: [PATCH] Move Log out of Milvus namespace (#10178) Signed-off-by: yudong.cai --- internal/core/src/log/Log.cpp | 4 ++-- internal/core/src/log/Log.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/core/src/log/Log.cpp b/internal/core/src/log/Log.cpp index 61b949e1ed..733216ecf8 100644 --- a/internal/core/src/log/Log.cpp +++ b/internal/core/src/log/Log.cpp @@ -19,7 +19,7 @@ INITIALIZE_EASYLOGGINGPP #include #include -namespace milvus { +// namespace milvus { std::string LogOut(const char* pattern, ...) { @@ -105,4 +105,4 @@ get_thread_start_timestamp() { } } -} // namespace milvus +// } // namespace milvus diff --git a/internal/core/src/log/Log.h b/internal/core/src/log/Log.h index e8e1f5d63b..3eba82631e 100644 --- a/internal/core/src/log/Log.h +++ b/internal/core/src/log/Log.h @@ -16,7 +16,7 @@ #include #include "easyloggingpp/easylogging++.h" -namespace milvus { +// namespace milvus { #if __GLIBC__ == 2 && __GLIBC_MINOR__ < 30 #include @@ -133,4 +133,4 @@ GetThreadName(); int64_t get_thread_start_timestamp(); -} // namespace milvus +// } // namespace milvus