Home
last modified time | relevance | path

Searched refs:AccountLogLevel (Results 1 – 4 of 4) sorted by relevance

/base/account/os_account/frameworks/common/log/include/
Daccount_log_wrapper.h24 enum class AccountLogLevel { DEBUG = 0, INFO, WARN, ERROR, FATAL }; enum
29 static bool JudgeLevel(const AccountLogLevel &level);
31 static void SetLogLevel(const AccountLogLevel &level) in SetLogLevel()
36 static const AccountLogLevel &GetLogLevel() in GetLogLevel()
44 static AccountLogLevel level_;
/base/account/os_account/frameworks/common/log/src/
Daccount_log_wrapper.cpp21 AccountLogLevel AccountLogWrapper::level_ = AccountLogLevel::INFO;
23 bool AccountLogWrapper::JudgeLevel(const AccountLogLevel& level) in JudgeLevel()
/base/account/os_account/frameworks/common/test/unittest/common_account_test/
Daccount_log_test.cpp51 EXPECT_EQ(AccountLogLevel::INFO, AccountLogWrapper::GetLogLevel());
57 AccountLogWrapper::SetLogLevel(AccountLogLevel::DEBUG);
58 EXPECT_EQ(AccountLogLevel::DEBUG, AccountLogWrapper::GetLogLevel());
/base/account/os_account/dfx/hidumper_adapter/
Daccount_dump_helper.cpp198 if ((level < static_cast<std::int32_t>(AccountLogLevel::DEBUG)) || in SetLogLevel()
199 (level > static_cast<std::int32_t>(AccountLogLevel::FATAL))) { in SetLogLevel()
202 AccountLogLevel logLevel = static_cast<AccountLogLevel>(level); in SetLogLevel()