mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-31 07:55:38 +08:00
27 lines
949 B
C++
27 lines
949 B
C++
/*******************************************************************************
|
|
* Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved
|
|
* Unauthorized copying of this file, via any medium is strictly prohibited.
|
|
* Proprietary and confidential.
|
|
******************************************************************************/
|
|
#pragma once
|
|
|
|
#include <easylogging++.h>
|
|
|
|
namespace zilliz {
|
|
namespace vecwise {
|
|
namespace engine {
|
|
|
|
#define ENGINE_DOMAIN_NAME "[ENGINE] "
|
|
#define ENGINE_ERROR_TEXT "ENGINE Error:"
|
|
|
|
#define ENGINE_LOG_TRACE LOG(TRACE) << ENGINE_DOMAIN_NAME
|
|
#define ENGINE_LOG_DEBUG LOG(DEBUG) << ENGINE_DOMAIN_NAME
|
|
#define ENGINE_LOG_INFO LOG(INFO) << ENGINE_DOMAIN_NAME
|
|
#define ENGINE_LOG_WARNING LOG(WARNING) << ENGINE_DOMAIN_NAME
|
|
#define ENGINE_LOG_ERROR LOG(ERROR) << ENGINE_DOMAIN_NAME
|
|
#define ENGINE_LOG_FATAL LOG(FATAL) << ENGINE_DOMAIN_NAME
|
|
|
|
} // namespace sql
|
|
} // namespace zilliz
|
|
} // namespace server
|