diff options
Diffstat (limited to 'third_party/chromium/base/logging.h')
-rw-r--r-- | third_party/chromium/base/logging.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/third_party/chromium/base/logging.h b/third_party/chromium/base/logging.h index ee10ae2..1290bfe 100644 --- a/third_party/chromium/base/logging.h +++ b/third_party/chromium/base/logging.h @@ -342,9 +342,6 @@ const LogSeverity LOG_DFATAL = LOG_FATAL; #define LOG_IF(severity, condition) \ LAZY_STREAM(LOG_STREAM(severity), LOG_IS_ON(severity) && (condition)) -#define SYSLOG(severity) LOG(severity) -#define SYSLOG_IF(severity, condition) LOG_IF(severity, condition) - // The VLOG macros log with negative verbosities. #define VLOG_STREAM(verbose_level) \ logging::LogMessage(__FILE__, __LINE__, -verbose_level).stream() @@ -358,8 +355,6 @@ const LogSeverity LOG_DFATAL = LOG_FATAL; #define LOG_ASSERT(condition) \ LOG_IF(FATAL, !(condition)) << "Assert failed: " #condition ". " -#define SYSLOG_ASSERT(condition) \ - SYSLOG_IF(FATAL, !(condition)) << "Assert failed: " #condition ". " // The actual stream used isn't important. #define EAT_STREAM_PARAMETERS \ @@ -656,12 +651,6 @@ class BASE_EXPORT LogMessage { DISALLOW_COPY_AND_ASSIGN(LogMessage); }; -// A non-macro interface to the log facility; (useful -// when the logging level is not a compile-time constant). -inline void LogAtLevel(int log_level, const std::string& msg) { - LogMessage(__FILE__, __LINE__, log_level).stream() << msg; -} - // This class is used to explicitly ignore values in the conditional // logging macros. This avoids compiler warnings like "value computed // is not used" and "statement has no effect". |