mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 03:48:37 +08:00
987ff82e10
Former-commit-id: f946b994174633082110e8d5b26640998e4ed35e
20 lines
800 B
C++
20 lines
800 B
C++
////////////////////////////////////////////////////////////////////////////////
|
|
// Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved
|
|
// Unauthorized copying of this file, via any medium is strictly prohibited.
|
|
// Proprietary and confidential.
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
#include <gtest/gtest.h>
|
|
#include "easylogging++.h"
|
|
|
|
class LogTest: public testing::Test {
|
|
protected:
|
|
void SetUp() override {
|
|
el::Configurations conf("../../../conf/vecwise_engine_log.conf");
|
|
el::Loggers::reconfigureAllLoggers(conf);
|
|
}
|
|
};
|
|
|
|
TEST_F(LogTest, TEST) {
|
|
EXPECT_FALSE(el::Loggers::hasFlag(el::LoggingFlag::NewLineForContainer));
|
|
EXPECT_FALSE(el::Loggers::hasFlag(el::LoggingFlag::LogDetailedCrashReason));
|
|
} |