Home
last modified time | relevance | path

Searched refs:LogSeverity (Results 1 – 25 of 37) sorted by relevance

12

/third_party/skia/third_party/externals/abseil-cpp/absl/base/
Dlog_severity_test.cc38 std::string StreamHelper(absl::LogSeverity value) { in StreamHelper()
45 EXPECT_THAT(StreamHelper(static_cast<absl::LogSeverity>(-100)), in TEST()
47 EXPECT_THAT(StreamHelper(absl::LogSeverity::kInfo), Eq("INFO")); in TEST()
48 EXPECT_THAT(StreamHelper(absl::LogSeverity::kWarning), Eq("WARNING")); in TEST()
49 EXPECT_THAT(StreamHelper(absl::LogSeverity::kError), Eq("ERROR")); in TEST()
50 EXPECT_THAT(StreamHelper(absl::LogSeverity::kFatal), Eq("FATAL")); in TEST()
51 EXPECT_THAT(StreamHelper(static_cast<absl::LogSeverity>(4)), in TEST()
56 absl::LogSeverity>::value,
66 absl::LogSeverity value; in TEST_P()
77 const auto expected = static_cast<absl::LogSeverity>(GetParam()); in TEST_P()
[all …]
Dlog_severity.h69 enum class LogSeverity : int { enum
80 constexpr std::array<absl::LogSeverity, 4> LogSeverities() { in LogSeverities()
81 return {{absl::LogSeverity::kInfo, absl::LogSeverity::kWarning, in LogSeverities()
82 absl::LogSeverity::kError, absl::LogSeverity::kFatal}}; in LogSeverities()
89 constexpr const char* LogSeverityName(absl::LogSeverity s) { in LogSeverityName()
90 return s == absl::LogSeverity::kInfo in LogSeverityName()
92 : s == absl::LogSeverity::kWarning in LogSeverityName()
94 : s == absl::LogSeverity::kError in LogSeverityName()
96 : s == absl::LogSeverity::kFatal ? "FATAL" : "UNKNOWN"; in LogSeverityName()
103 constexpr absl::LogSeverity NormalizeLogSeverity(absl::LogSeverity s) { in NormalizeLogSeverity()
[all …]
Dlog_severity.cc22 std::ostream& operator<<(std::ostream& os, absl::LogSeverity s) { in operator <<()
/third_party/skia/third_party/externals/dawn/src/common/
DLog.cpp30 const char* SeverityName(LogSeverity severity) { in SeverityName()
32 case LogSeverity::Debug: in SeverityName()
34 case LogSeverity::Info: in SeverityName()
36 case LogSeverity::Warning: in SeverityName()
38 case LogSeverity::Error: in SeverityName()
47 android_LogPriority AndroidLogPriority(LogSeverity severity) { in AndroidLogPriority()
49 case LogSeverity::Debug: in AndroidLogPriority()
51 case LogSeverity::Info: in AndroidLogPriority()
53 case LogSeverity::Warning: in AndroidLogPriority()
55 case LogSeverity::Error: in AndroidLogPriority()
[all …]
DLog.h52 enum class LogSeverity { enum
62 LogMessage(LogSeverity severity);
78 LogSeverity mSeverity;
/third_party/flutter/engine/flutter/fml/
Dlog_level.h10 typedef int LogSeverity; typedef
13 constexpr LogSeverity LOG_INFO = 0;
14 constexpr LogSeverity LOG_WARNING = 1;
15 constexpr LogSeverity LOG_ERROR = 2;
16 constexpr LogSeverity LOG_FATAL = 3;
17 constexpr LogSeverity LOG_NUM_SEVERITIES = 4;
28 const LogSeverity LOG_DFATAL = LOG_ERROR;
30 const LogSeverity LOG_DFATAL = LOG_FATAL;
Dlogging.h22 LogMessage(LogSeverity severity,
32 const LogSeverity severity_;
44 bool ShouldCreateLogMessage(LogSeverity severity);
Dlogging.cc27 const char* GetNameForLogSeverity(LogSeverity severity) { in GetNameForLogSeverity()
49 LogMessage::LogMessage(LogSeverity severity, in LogMessage()
119 bool ShouldCreateLogMessage(LogSeverity severity) { in ShouldCreateLogMessage()
Dlog_settings.h25 LogSeverity min_log_level = LOG_INFO;
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Draw_logging.h81 if (ABSL_RAW_LOGGING_INTERNAL_##severity == ::absl::LogSeverity::kFatal) \
94 #define ABSL_RAW_LOGGING_INTERNAL_INFO ::absl::LogSeverity::kInfo
95 #define ABSL_RAW_LOGGING_INTERNAL_WARNING ::absl::LogSeverity::kWarning
96 #define ABSL_RAW_LOGGING_INTERNAL_ERROR ::absl::LogSeverity::kError
97 #define ABSL_RAW_LOGGING_INTERNAL_FATAL ::absl::LogSeverity::kFatal
109 void RawLog(absl::LogSeverity severity, const char* file, int line,
154 using LogPrefixHook = bool (*)(absl::LogSeverity severity, const char* file,
173 using InternalLogFunction = void (*)(absl::LogSeverity severity,
Draw_logging.cc133 void RawLogVA(absl::LogSeverity severity, const char* file, int line,
135 void RawLogVA(absl::LogSeverity severity, const char* file, int line, in RawLogVA()
147 if (severity < static_cast<absl::LogSeverity>(ABSL_MIN_LOG_LEVEL) && in RawLogVA()
148 severity < absl::LogSeverity::kFatal) { in RawLogVA()
180 if (severity == absl::LogSeverity::kFatal) { in RawLogVA()
190 void DefaultInternalLog(absl::LogSeverity severity, const char* file, int line, in DefaultInternalLog()
212 void RawLog(absl::LogSeverity severity, const char* file, int line, in RawLog()
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Ddebug.h43 using LogSeverity = int; variable
46 constexpr LogSeverity LOG_EVENT = 0;
47 constexpr LogSeverity LOG_INFO = 1;
48 constexpr LogSeverity LOG_WARN = 2;
49 constexpr LogSeverity LOG_ERR = 3;
50 constexpr LogSeverity LOG_FATAL = 4;
51 constexpr LogSeverity LOG_NUM_SEVERITIES = 5;
53 void Trace(LogSeverity severity, const char *message);
66 LogMessage(const char *function, int line, LogSeverity severity);
70 LogSeverity getSeverity() const;
[all …]
Ddebug.cpp48 bool ShouldCreateLogMessage(LogSeverity severity) in ShouldCreateLogMessage()
64 bool ShouldCreatePlatformLogMessage(LogSeverity severity) in ShouldCreatePlatformLogMessage()
144 LogMessage::LogMessage(const char *function, int line, LogSeverity severity) in LogMessage()
184 void Trace(LogSeverity severity, const char *message) in Trace()
264 LogSeverity LogMessage::getSeverity() const in getSeverity()
/third_party/gn/src/base/
Dlogging.h148 typedef int LogSeverity; typedef
149 const LogSeverity LOG_VERBOSE = -1; // This is level 1 verbosity
152 const LogSeverity LOG_INFO = 0;
153 const LogSeverity LOG_WARNING = 1;
154 const LogSeverity LOG_ERROR = 2;
155 const LogSeverity LOG_FATAL = 3;
156 const LogSeverity LOG_NUM_SEVERITIES = 4;
160 const LogSeverity LOG_DFATAL = LOG_ERROR;
162 const LogSeverity LOG_DFATAL = LOG_FATAL;
200 const LogSeverity LOG_0 = LOG_ERROR;
[all …]
Dlogging.cc84 logging::LogSeverity LOG_DCHECK = LOG_INFO;
143 LogMessage::LogMessage(const char* file, int line, LogSeverity severity) in LogMessage()
163 LogSeverity severity, in LogMessage()
270 LogSeverity severity, in Win32ErrorLogMessage()
280 LogSeverity severity, in ErrnoLogMessage()
/third_party/cef/include/base/
Dcef_logging.h184 typedef int LogSeverity; typedef
185 const LogSeverity LOG_VERBOSE = -1; // This is level 1 verbosity
188 const LogSeverity LOG_INFO = 0;
189 const LogSeverity LOG_WARNING = 1;
190 const LogSeverity LOG_ERROR = 2;
191 const LogSeverity LOG_FATAL = 3;
192 const LogSeverity LOG_NUM_SEVERITIES = 4;
196 const LogSeverity LOG_DFATAL = LOG_ERROR;
198 const LogSeverity LOG_DFATAL = LOG_FATAL;
237 const LogSeverity LOG_0 = LOG_ERROR;
[all …]
/third_party/skia/third_party/externals/angle2/src/common/
Ddebug.h56 using LogSeverity = int; variable
59 constexpr LogSeverity LOG_EVENT = 0;
60 constexpr LogSeverity LOG_INFO = 1;
61 constexpr LogSeverity LOG_WARN = 2;
62 constexpr LogSeverity LOG_ERR = 3;
63 constexpr LogSeverity LOG_FATAL = 4;
64 constexpr LogSeverity LOG_NUM_SEVERITIES = 5;
66 void Trace(LogSeverity severity, const char *message);
79 LogMessage(const char *file, const char *function, int line, LogSeverity severity);
83 LogSeverity getSeverity() const;
[all …]
Ddebug.cpp57 bool ShouldCreateLogMessage(LogSeverity severity) in ShouldCreateLogMessage()
73 bool ShouldCreatePlatformLogMessage(LogSeverity severity) in ShouldCreatePlatformLogMessage()
170 LogMessage::LogMessage(const char *file, const char *function, int line, LogSeverity severity) in LogMessage()
211 void Trace(LogSeverity severity, const char *message) in Trace()
325 LogSeverity LogMessage::getSeverity() const in getSeverity()
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
Dmarshalling.cc202 bool AbslParseFlag(absl::string_view text, absl::LogSeverity* dst, in AbslParseFlag()
211 *dst = absl::LogSeverity::kInfo; in AbslParseFlag()
215 *dst = absl::LogSeverity::kWarning; in AbslParseFlag()
219 *dst = absl::LogSeverity::kError; in AbslParseFlag()
223 *dst = absl::LogSeverity::kFatal; in AbslParseFlag()
226 std::underlying_type<absl::LogSeverity>::type numeric_value; in AbslParseFlag()
228 *dst = static_cast<absl::LogSeverity>(numeric_value); in AbslParseFlag()
235 std::string AbslUnparseFlag(absl::LogSeverity v) { in AbslUnparseFlag()
Dmarshalling.h257 enum class LogSeverity : int;
258 bool AbslParseFlag(absl::string_view, absl::LogSeverity*, std::string*);
259 std::string AbslUnparseFlag(absl::LogSeverity);
/third_party/cef/libcef_dll/base/
Dcef_logging.cc167 LogMessage::LogMessage(const char* file, int line, LogSeverity severity) in LogMessage()
178 LogSeverity severity, in LogMessage()
237 LogSeverity severity, in Win32ErrorLogMessage()
247 LogSeverity severity, in ErrnoLogMessage()
/third_party/googletest/googlemock/src/
Dgmock-internal-utils.cc128 GTEST_API_ bool LogIsVisible(LogSeverity severity) { in LogIsVisible()
149 GTEST_API_ void Log(LogSeverity severity, const std::string& message, in Log()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DDebug.h56 gl::LogSeverity logSeverity) const;
62 gl::LogSeverity logSeverity) const;
/third_party/googletest/googlemock/include/gmock/internal/
Dgmock-internal-utils.h240 enum LogSeverity { enum
256 GTEST_API_ bool LogIsVisible(LogSeverity severity);
265 GTEST_API_ void Log(LogSeverity severity, const std::string& message,
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DDebug.h56 gl::LogSeverity logSeverity,
63 gl::LogSeverity logSeverity,

12