Planeshift
Classes | Namespaces | Defines | Typedefs | Functions

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

namespace  base_logging
namespace  google_breakpad

Defines

#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 (uint64_t number)
string google_breakpad::HexString (int number)
string google_breakpad::HexString (uint32_t number)

Define Documentation

#define BPLOG (   severity)    BPLOG_ ## severity

Definition at line 150 of file logging.h.

#define BPLOG_ERROR
Value:

Definition at line 166 of file logging.h.

#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)

Definition at line 171 of file logging.h.

#define BPLOG_INFO
Value:

Definition at line 157 of file logging.h.

#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.