Planeshift
logging.h File Reference
#include <iostream>
#include <string>
#include "common/using_std_string.h"
#include "google_breakpad/common/breakpad_types.h"

Go to the source code of this file.

Classes

class  google_breakpad::LogMessageVoidify
 
class  google_breakpad::LogStream
 

Namespaces

 base_logging
 
 google_breakpad
 

Macros

#define BPLOG(severity)   BPLOG_ ## severity
 
#define BPLOG_ERROR
 
#define BPLOG_ERROR_STREAM   std::cerr
 
#define BPLOG_IF(severity, condition)
 
#define BPLOG_INFO
 
#define BPLOG_INFO_STREAM   std::clog
 
#define BPLOG_INIT(pargc, pargv)
 

Typedefs

typedef std::ostream base_logging::LogMessage
 

Functions

int google_breakpad::ErrnoString (string *error_string)
 
string google_breakpad::HexString (uint32_t number)
 
string google_breakpad::HexString (uint64_t number)
 
string google_breakpad::HexString (int number)
 

Macro Definition Documentation

#define BPLOG (   severity)    BPLOG_ ## severity

Definition at line 150 of file logging.h.

#define BPLOG_ERROR
#define BPLOG_ERROR_STREAM   std::cerr

Definition at line 164 of file logging.h.

#define BPLOG_IF (   severity,
  condition 
)
Value:
!(condition) ? (void) 0 : \
google_breakpad::LogMessageVoidify() & BPLOG(severity)
#define BPLOG(severity)
Definition: logging.h:150

Definition at line 171 of file logging.h.

#define BPLOG_INFO
#define BPLOG_INFO_STREAM   std::clog

Definition at line 155 of file logging.h.

#define BPLOG_INIT (   pargc,
  pargv 
)

Definition at line 146 of file logging.h.