Home
last modified time | relevance | path

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

/ohos5.0/base/account/os_account/frameworks/common/log/include/
H A Daccount_log_wrapper.h30 enum class AccountLogLevel { DEBUG = 0, INFO, WARN, ERROR, FATAL }; enum
35 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_;
/ohos5.0/base/account/os_account/frameworks/common/log/src/
H A Daccount_log_wrapper.cpp21 AccountLogLevel AccountLogWrapper::level_ = AccountLogLevel::INFO;
23 bool AccountLogWrapper::JudgeLevel(const AccountLogLevel& level) in JudgeLevel()
/ohos5.0/base/account/os_account/frameworks/common/test/unittest/common_account_test/
H A Daccount_log_test.cpp59 EXPECT_EQ(AccountLogLevel::INFO, AccountLogWrapper::GetLogLevel());
65 AccountLogWrapper::SetLogLevel(AccountLogLevel::DEBUG);
66 EXPECT_EQ(AccountLogLevel::DEBUG, AccountLogWrapper::GetLogLevel());
/ohos5.0/base/account/os_account/dfx/hidumper_adapter/
H A Daccount_dump_helper.cpp202 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()