Searched refs:AccountLogLevel (Results 1 – 4 of 4) sorted by relevance
30 enum class AccountLogLevel { DEBUG = 0, INFO, WARN, ERROR, FATAL }; enum35 static bool JudgeLevel(const AccountLogLevel &level);37 static void SetLogLevel(const AccountLogLevel &level) in SetLogLevel()42 static const AccountLogLevel &GetLogLevel() in GetLogLevel()50 static AccountLogLevel level_;
21 AccountLogLevel AccountLogWrapper::level_ = AccountLogLevel::INFO;23 bool AccountLogWrapper::JudgeLevel(const AccountLogLevel& level) in JudgeLevel()
59 EXPECT_EQ(AccountLogLevel::INFO, AccountLogWrapper::GetLogLevel());65 AccountLogWrapper::SetLogLevel(AccountLogLevel::DEBUG);66 EXPECT_EQ(AccountLogLevel::DEBUG, AccountLogWrapper::GetLogLevel());
202 if ((level < static_cast<std::int32_t>(AccountLogLevel::DEBUG)) || in SetLogLevel()203 (level > static_cast<std::int32_t>(AccountLogLevel::FATAL))) { in SetLogLevel()206 AccountLogLevel logLevel = static_cast<AccountLogLevel>(level); in SetLogLevel()