![]() |
OR-Tools
8.1
|
Namespaces | |
base | |
base_logging | |
logging_internal | |
protobuf | |
Classes | |
struct | CheckOpString |
struct | DummyClassToDefineOperator |
class | ErrnoLogMessage |
class | LogDestination |
class | LogMessage |
class | LogMessageFatal |
class | LogMessageVoidify |
class | LogSink |
class | NullStream |
class | NullStreamFatal |
struct | VModuleInfo |
Typedefs | |
typedef void(* | logging_fail_func_t) () ATTRIBUTE_NORETURN |
typedef void | DebugWriter(const char *, void *) |
Enumerations | |
enum | GLogColor { COLOR_DEFAULT, COLOR_RED, COLOR_GREEN, COLOR_YELLOW } |
enum | PRIVATE_Counter { COUNTER } |
Functions | |
static GLogColor | SeverityToColor (LogSeverity severity) |
static const char * | GetAnsiColorCode (GLogColor color) |
static int32 | MaxLogSize () |
const char * | GetLogSeverityName (LogSeverity severity) |
static void | ColoredWriteToStderr (LogSeverity severity, const char *message, size_t len) |
static void | WriteToStderr (const char *message, size_t len) |
void | ReprintFatalMessage () |
static void | logging_fail () ATTRIBUTE_NORETURN |
void | InstallFailureFunction (void(*fail_func)()) |
ostream & | operator<< (ostream &os, const PRIVATE_Counter &) |
void | FlushLogFiles (LogSeverity min_severity) |
void | FlushLogFilesUnsafe (LogSeverity min_severity) |
void | SetLogDestination (LogSeverity severity, const char *base_filename) |
void | SetLogSymlink (LogSeverity severity, const char *symlink_basename) |
void | AddLogSink (LogSink *destination) |
void | RemoveLogSink (LogSink *destination) |
void | SetLogFilenameExtension (const char *ext) |
void | SetStderrLogging (LogSeverity min_severity) |
void | LogToStderr () |
static string | ShellEscape (const string &src) |
static void | GetTempDirectories (vector< string > *list) |
const vector< string > & | GetLoggingDirectories () |
void | TestOnly_ClearLoggingDirectoriesList () |
void | GetExistingTempDirectories (vector< string > *list) |
int | posix_strerror_r (int err, char *buf, size_t len) |
string | StrError (int err) |
template<> | |
void | MakeCheckOpValueString (std::ostream *os, const char &v) |
template<> | |
void | MakeCheckOpValueString (std::ostream *os, const signed char &v) |
template<> | |
void | MakeCheckOpValueString (std::ostream *os, const unsigned char &v) |
void | InitGoogleLogging (const char *argv0) |
void | ShutdownGoogleLogging () |
template<class T > | |
const T & | GetReferenceableValue (const T &t) |
char | GetReferenceableValue (char t) |
unsigned char | GetReferenceableValue (unsigned char t) |
signed char | GetReferenceableValue (signed char t) |
int16 | GetReferenceableValue (int16 t) |
uint16 | GetReferenceableValue (uint16 t) |
int | GetReferenceableValue (int t) |
unsigned int | GetReferenceableValue (unsigned int t) |
int64 | GetReferenceableValue (int64 t) |
uint64 | GetReferenceableValue (uint64 t) |
template<typename T > | |
void | MakeCheckOpValueString (std::ostream *os, const T &v) |
template<typename T1 , typename T2 > | |
std::string * | MakeCheckOpString (const T1 &v1, const T2 &v2, const char *exprtext) ATTRIBUTE_NOINLINE |
DEFINE_CHECK_OP_IMPL (Check_EQ,==) DEFINE_CHECK_OP_IMPL(Check_NE | |
void | LogAtLevel (int const severity, std::string const &msg) |
template<typename T > | |
T * | CheckNotNull (const char *file, int line, const char *names, T *t) |
template<class T > | |
NullStream & | operator<< (NullStream &str, const T &) |
static void | DebugWriteToStderr (const char *data, void *) |
static void | DebugWriteToString (const char *data, void *arg) |
static void | DumpPCAndSymbol (DebugWriter *writerfn, void *arg, void *pc, const char *const prefix) |
static void | DumpPC (DebugWriter *writerfn, void *arg, void *pc, const char *const prefix) |
static void | DumpStackTrace (int skip_count, DebugWriter *writerfn, void *arg) |
static void | DumpStackTraceAndExit () |
static bool | DoRawLog (char **buf, int *size, const char *format,...) |
static bool | VADoRawLog (char **buf, int *size, const char *format, va_list ap) |
void | RawLog__ (LogSeverity severity, const char *file, int line, const char *format,...) |
static void | RawLogStub__ (int,...) |
template<class Iter > | |
void | PrintSequence (std::ostream &out, Iter begin, Iter end) |
static void | VLOG2Initializer () |
int | SetVLOGLevel (const char *module_pattern, int log_level) |
bool | InitVLOG3__ (int32 **site_flag, int32 *site_default, const char *fname, int32 verbose_level) |
typedef void DebugWriter(const char *, void *) |
Definition at line 152 of file logging_utilities.cc.
typedef void(* logging_fail_func_t) () ATTRIBUTE_NORETURN |
Definition at line 1383 of file base/logging.cc.
enum GLogColor |
Enumerator | |
---|---|
COLOR_DEFAULT | |
COLOR_RED | |
COLOR_GREEN | |
COLOR_YELLOW |
Definition at line 246 of file base/logging.cc.
enum PRIVATE_Counter |
Enumerator | |
---|---|
COUNTER |
Definition at line 857 of file base/logging.h.
GOOGLE_GLOG_DLL_DECL void AddLogSink | ( | LogSink * | destination | ) |
Definition at line 1550 of file base/logging.cc.
T* google::CheckNotNull | ( | const char * | file, |
int | line, | ||
const char * | names, | ||
T * | t | ||
) |
Definition at line 1218 of file base/logging.h.
|
static |
Definition at line 622 of file base/logging.cc.
|
static |
Definition at line 158 of file logging_utilities.cc.
|
static |
Definition at line 165 of file logging_utilities.cc.
google::DEFINE_CHECK_OP_IMPL | ( | Check_EQ | ) |
|
static |
Definition at line 51 of file raw_logging.cc.
|
static |
Definition at line 186 of file logging_utilities.cc.
|
static |
Definition at line 170 of file logging_utilities.cc.
|
static |
Definition at line 194 of file logging_utilities.cc.
|
static |
Definition at line 207 of file logging_utilities.cc.
GOOGLE_GLOG_DLL_DECL void FlushLogFiles | ( | LogSeverity | min_severity | ) |
Definition at line 1505 of file base/logging.cc.
GOOGLE_GLOG_DLL_DECL void FlushLogFilesUnsafe | ( | LogSeverity | min_severity | ) |
Definition at line 1509 of file base/logging.cc.
|
static |
Definition at line 288 of file base/logging.cc.
GOOGLE_GLOG_DLL_DECL void GetExistingTempDirectories | ( | vector< string > * | list | ) |
Definition at line 1713 of file base/logging.cc.
GOOGLE_GLOG_DLL_DECL const std::vector< std::string > & GetLoggingDirectories | ( | ) |
Definition at line 1682 of file base/logging.cc.
GOOGLE_GLOG_DLL_DECL const char * GetLogSeverityName | ( | LogSeverity | severity | ) |
Definition at line 364 of file base/logging.cc.
|
inline |
Definition at line 518 of file base/logging.h.
|
inline |
Definition at line 515 of file base/logging.h.
|
inline |
Definition at line 523 of file base/logging.h.
Definition at line 521 of file base/logging.h.
Definition at line 525 of file base/logging.h.
|
inline |
Definition at line 520 of file base/logging.h.
Definition at line 522 of file base/logging.h.
Definition at line 526 of file base/logging.h.
|
inline |
Definition at line 519 of file base/logging.h.
|
inline |
Definition at line 524 of file base/logging.h.
|
static |
Definition at line 1631 of file base/logging.cc.
GOOGLE_GLOG_DLL_DECL void InitGoogleLogging | ( | const char * | argv0 | ) |
Definition at line 1867 of file base/logging.cc.
GOOGLE_GLOG_DLL_DECL bool InitVLOG3__ | ( | int32 ** | site_flag, |
int32 * | site_default, | ||
const char * | fname, | ||
int32 | verbose_level | ||
) |
Definition at line 186 of file vlog_is_on.cc.
GOOGLE_GLOG_DLL_DECL void InstallFailureFunction | ( | void(*)() | fail_func | ) |
Definition at line 1388 of file base/logging.cc.
|
inline |
Definition at line 1176 of file base/logging.h.
|
static |
Definition at line 1381 of file base/logging.cc.
GOOGLE_GLOG_DLL_DECL void LogToStderr | ( | ) |
Definition at line 1566 of file base/logging.cc.
std::string * MakeCheckOpString | ( | const T1 & | v1, |
const T2 & | v2, | ||
const char * | exprtext | ||
) |
Definition at line 602 of file base/logging.h.
GOOGLE_GLOG_DLL_DECL void MakeCheckOpValueString | ( | std::ostream * | os, |
const char & | v | ||
) |
Definition at line 1841 of file base/logging.cc.
GOOGLE_GLOG_DLL_DECL void MakeCheckOpValueString | ( | std::ostream * | os, |
const signed char & | v | ||
) |
Definition at line 1850 of file base/logging.cc.
|
inline |
Definition at line 545 of file base/logging.h.
GOOGLE_GLOG_DLL_DECL void MakeCheckOpValueString | ( | std::ostream * | os, |
const unsigned char & | v | ||
) |
Definition at line 1859 of file base/logging.cc.
|
static |
Definition at line 305 of file base/logging.cc.
|
inline |
Definition at line 1463 of file base/logging.h.
GOOGLE_GLOG_DLL_DECL std::ostream & operator<< | ( | ostream & | os, |
const PRIVATE_Counter & | |||
) |
Definition at line 1481 of file base/logging.cc.
GOOGLE_GLOG_DLL_DECL int posix_strerror_r | ( | int | err, |
char * | buf, | ||
size_t | len | ||
) |
Definition at line 1748 of file base/logging.cc.
|
inline |
Definition at line 108 of file stl_logging.h.
GOOGLE_GLOG_DLL_DECL void RawLog__ | ( | LogSeverity | severity, |
const char * | file, | ||
int | line, | ||
const char * | format, | ||
... | |||
) |
Definition at line 77 of file raw_logging.cc.
|
inlinestatic |
Definition at line 130 of file raw_logging.h.
GOOGLE_GLOG_DLL_DECL void RemoveLogSink | ( | LogSink * | destination | ) |
Definition at line 1554 of file base/logging.cc.
GOOGLE_GLOG_DLL_DECL void ReprintFatalMessage | ( | ) |
Definition at line 1259 of file base/logging.cc.
GOOGLE_GLOG_DLL_DECL void SetLogDestination | ( | LogSeverity | severity, |
const char * | base_filename | ||
) |
Definition at line 1513 of file base/logging.cc.
GOOGLE_GLOG_DLL_DECL void SetLogFilenameExtension | ( | const char * | ext | ) |
Definition at line 1558 of file base/logging.cc.
GOOGLE_GLOG_DLL_DECL void SetLogSymlink | ( | LogSeverity | severity, |
const char * | symlink_basename | ||
) |
Definition at line 1517 of file base/logging.cc.
GOOGLE_GLOG_DLL_DECL void SetStderrLogging | ( | LogSeverity | min_severity | ) |
Definition at line 1562 of file base/logging.cc.
GOOGLE_GLOG_DLL_DECL int SetVLOGLevel | ( | const char * | module_pattern, |
int | log_level | ||
) |
Definition at line 151 of file vlog_is_on.cc.
|
static |
Definition at line 248 of file base/logging.cc.
|
static |
Definition at line 1602 of file base/logging.cc.
GOOGLE_GLOG_DLL_DECL void ShutdownGoogleLogging | ( | ) |
Definition at line 1871 of file base/logging.cc.
GOOGLE_GLOG_DLL_DECL std::string StrError | ( | int | err | ) |
Definition at line 1798 of file base/logging.cc.
void TestOnly_ClearLoggingDirectoriesList | ( | ) |
Definition at line 1705 of file base/logging.cc.
|
inlinestatic |
Definition at line 63 of file raw_logging.cc.
|
static |
Definition at line 116 of file vlog_is_on.cc.
|
static |
Definition at line 660 of file base/logging.cc.
|
static |
Definition at line 75 of file raw_logging.cc.
|
static |
Definition at line 1048 of file base/logging.cc.
|
static |
Definition at line 74 of file raw_logging.cc.
|
static |
Definition at line 73 of file raw_logging.cc.
|
static |
Definition at line 362 of file base/logging.cc.
|
static |
Definition at line 1257 of file base/logging.cc.
|
static |
Definition at line 1050 of file base/logging.cc.
|
static |
Definition at line 1051 of file base/logging.cc.
|
static |
Definition at line 1049 of file base/logging.cc.
|
static |
Definition at line 1047 of file base/logging.cc.
|
static |
Definition at line 1256 of file base/logging.cc.
GOOGLE_GLOG_DLL_DECL logging_fail_func_t g_logging_fail_func = &logging_fail |
Definition at line 1386 of file base/logging.cc.
|
static |
Definition at line 136 of file logging_utilities.cc.
|
static |
Definition at line 135 of file logging_utilities.cc.
const int GLOG_ERROR = 2 |
Definition at line 25 of file log_severity.h.
const int GLOG_FATAL = 3 |
Definition at line 25 of file log_severity.h.
const int GLOG_INFO = 0 |
Definition at line 25 of file log_severity.h.
const int GLOG_WARNING = 1 |
Definition at line 25 of file log_severity.h.
|
static |
Definition at line 113 of file vlog_is_on.cc.
|
static |
Definition at line 1597 of file base/logging.cc.
|
static |
Definition at line 72 of file raw_logging.cc.
int32 kLogSiteUninitialized = 1000 |
Definition at line 90 of file vlog_is_on.cc.
|
static |
Definition at line 156 of file logging_utilities.cc.
|
static |
Definition at line 350 of file base/logging.cc.
|
static |
Definition at line 1680 of file base/logging.cc.
const char *const LogSeverityNames |
Definition at line 358 of file base/logging.cc.
const int NUM_SEVERITIES = 4 |
Definition at line 26 of file log_severity.h.
|
static |
Definition at line 356 of file base/logging.cc.
|
static |
Definition at line 1056 of file base/logging.cc.
|
static |
Definition at line 1060 of file base/logging.cc.
|
static |
Definition at line 111 of file vlog_is_on.cc.
|
static |
Definition at line 108 of file vlog_is_on.cc.