57 #ifndef PROCESSOR_LOGGING_H__ 58 #define PROCESSOR_LOGGING_H__ 66 #ifdef BP_LOGGING_INCLUDE 67 #include BP_LOGGING_INCLUDE 68 #endif // BP_LOGGING_INCLUDE 70 #ifndef THIRD_PARTY_BREAKPAD_GOOGLE_GLUE_LOGGING_H_ 80 #endif // THIRD_PARTY_BREAKPAD_GOOGLE_GLUE_LOGGING_H_ 104 const char *file,
int line);
114 std::ostream &stream_;
146 #define BPLOG_INIT(pargc, pargv) 150 #define BPLOG(severity) BPLOG_ ## severity 154 #ifndef BPLOG_INFO_STREAM 155 #define BPLOG_INFO_STREAM std::clog 156 #endif // BPLOG_INFO_STREAM 157 #define BPLOG_INFO google_breakpad::LogStream(BPLOG_INFO_STREAM, \ 158 google_breakpad::LogStream::SEVERITY_INFO, \ 163 #ifndef BPLOG_ERROR_STREAM 164 #define BPLOG_ERROR_STREAM std::cerr 165 #endif // BPLOG_ERROR_STREAM 166 #define BPLOG_ERROR google_breakpad::LogStream(BPLOG_ERROR_STREAM, \ 167 google_breakpad::LogStream::SEVERITY_ERROR, \ 169 #endif // BPLOG_ERROR 171 #define BPLOG_IF(severity, condition) \ 172 !(condition) ? (void) 0 : \ 173 google_breakpad::LogMessageVoidify() & BPLOG(severity) 175 #endif // PROCESSOR_LOGGING_H__
int ErrnoString(string *error_string)
void operator&(base_logging::LogMessage &)
string HexString(int number)
std::ostream & operator<<(const T &t)