Home
last modified time | relevance | path

Searched refs:MojoLogLevel (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/mojo/public/c/environment/
Dlogger.h13 typedef int32_t MojoLogLevel; typedef
16 const MojoLogLevel MOJO_LOG_LEVEL_VERBOSE = -1;
17 const MojoLogLevel MOJO_LOG_LEVEL_INFO = 0;
18 const MojoLogLevel MOJO_LOG_LEVEL_WARNING = 1;
19 const MojoLogLevel MOJO_LOG_LEVEL_ERROR = 2;
20 const MojoLogLevel MOJO_LOG_LEVEL_FATAL = 3;
22 #define MOJO_LOG_LEVEL_VERBOSE ((MojoLogLevel) - 1)
23 #define MOJO_LOG_LEVEL_INFO ((MojoLogLevel)0)
24 #define MOJO_LOG_LEVEL_WARNING ((MojoLogLevel)1)
25 #define MOJO_LOG_LEVEL_ERROR ((MojoLogLevel)2)
[all …]
/external/chromium_org/mojo/environment/
Ddefault_logger_impl.cc26 int MojoToChromiumLogLevel(MojoLogLevel log_level) { in MojoToChromiumLogLevel()
31 MojoLogLevel ChromiumToMojoLogLevel(int chromium_log_level) { in ChromiumToMojoLogLevel()
33 return static_cast<MojoLogLevel>(chromium_log_level); in ChromiumToMojoLogLevel()
36 void LogMessage(MojoLogLevel log_level, const char* message) { in LogMessage()
50 MojoLogLevel GetMinimumLogLevel() { in GetMinimumLogLevel()
54 void SetMinimumLogLevel(MojoLogLevel log_level) { in SetMinimumLogLevel()
/external/chromium_org/mojo/public/cpp/environment/lib/
Ddefault_logger.cc18 MojoLogLevel g_minimum_log_level = MOJO_LOG_LEVEL_INFO;
20 const char* GetLogLevelString(MojoLogLevel log_level) { in GetLogLevelString()
41 void LogMessage(MojoLogLevel log_level, const char* message) { in LogMessage()
51 MojoLogLevel GetMinimumLogLevel() { in GetMinimumLogLevel()
55 void SetMinimumLogLevel(MojoLogLevel minimum_log_level) { in SetMinimumLogLevel()
Dlogging.cc33 LogMessage::LogMessage(const char* file, int line, MojoLogLevel log_level) in LogMessage()
/external/chromium_org/mojo/public/cpp/environment/tests/
Dlogging_unittest.cc55 static MojoLogLevel last_log_level() { return last_log_level_; } in last_log_level()
65 static void MockLogMessage(MojoLogLevel log_level, const char* message) { in MockLogMessage()
71 static MojoLogLevel MockGetMinimumLogLevel() { in MockGetMinimumLogLevel()
75 static void MockSetMinimumLogLevel(MojoLogLevel minimum_log_level) { in MockSetMinimumLogLevel()
82 static MojoLogLevel minimum_log_level_;
84 static MojoLogLevel last_log_level_;
99 MojoLogLevel LoggingTest::minimum_log_level_ = MOJO_LOG_LEVEL_INFO;
105 MojoLogLevel LoggingTest::last_log_level_ = MOJO_LOG_LEVEL_INFO;
Dlogger_unittest.cc32 for (MojoLogLevel log_level = MOJO_LOG_LEVEL_VERBOSE-1; in TEST()
/external/chromium_org/mojo/public/cpp/environment/
Dlogging.h66 LogMessage(const char* file, int line, MojoLogLevel log_level);
72 const MojoLogLevel log_level_;