13 #ifndef __STOUT_EXIT_HPP__    14 #define __STOUT_EXIT_HPP__    20 #include <glog/logging.h>    21 #include <glog/raw_logging.h>    31 #define EXIT(status) __Exit(__FILE__, __LINE__, status).stream()    42 #define SAFE_EXIT(status, fmt, ...)                                       \    45       RAW_LOG(ERROR, "EXIT with status %d: " fmt, status, ##__VA_ARGS__); \    47       RAW_LOG(INFO, "EXIT with status %d: " fmt, status, ##__VA_ARGS__);  \    60           _status == EXIT_SUCCESS ? 
google::GLOG_INFO : 
google::GLOG_ERROR)
    62     stream() << 
"EXIT with status " << _status << 
": ";
    81 #endif // __STOUT_EXIT_HPP__ std::ostream & stream()
Definition: exit.hpp:71
#define STOUT_NORETURN
Definition: attributes.hpp:31
const int status
Definition: exit.hpp:76
URI file(const std::string &path)
Creates a file URI with the given path on the local host. 
Definition: file.hpp:33
google::LogMessage message
Definition: exit.hpp:77
__Exit(const char *file, int line, int _status)
Definition: exit.hpp:55
STOUT_NORETURN ~__Exit()
Definition: exit.hpp:65
Type utilities for the protobuf library that are not specific to particular protobuf classes...
Definition: type_utils.hpp:552