![]() |
OR-Tools
9.1
|
Namespaces | |
| namespace | base |
| namespace | base_logging |
| namespace | logging_internal |
| namespace | 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_t | 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) |
| template<> | |
| void | MakeCheckOpValueString (std::ostream *os, const std::nullptr_t &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_t | GetReferenceableValue (int16_t t) |
| uint16_t | GetReferenceableValue (uint16_t t) |
| int | GetReferenceableValue (int t) |
| unsigned int | GetReferenceableValue (unsigned int t) |
| int64_t | GetReferenceableValue (int64_t t) |
| uint64_t | GetReferenceableValue (uint64_t 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_t **site_flag, int32_t *site_default, const char *fname, int32_t 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 1384 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 858 of file base/logging.h.
| GOOGLE_GLOG_DLL_DECL void AddLogSink | ( | LogSink * | destination | ) |
Definition at line 1551 of file base/logging.cc.
| T * google::CheckNotNull | ( | const char * | file, |
| int | line, | ||
| const char * | names, | ||
| T * | t | ||
| ) |
Definition at line 1213 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 1506 of file base/logging.cc.
| GOOGLE_GLOG_DLL_DECL void FlushLogFilesUnsafe | ( | LogSeverity | min_severity | ) |
Definition at line 1510 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 1714 of file base/logging.cc.
| GOOGLE_GLOG_DLL_DECL const std::vector< std::string > & GetLoggingDirectories | ( | ) |
Definition at line 1683 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 514 of file base/logging.h.
|
inline |
Definition at line 511 of file base/logging.h.
|
inline |
Definition at line 519 of file base/logging.h.
|
inline |
Definition at line 517 of file base/logging.h.
|
inline |
Definition at line 521 of file base/logging.h.
|
inline |
Definition at line 516 of file base/logging.h.
|
inline |
Definition at line 518 of file base/logging.h.
|
inline |
Definition at line 522 of file base/logging.h.
|
inline |
Definition at line 515 of file base/logging.h.
|
inline |
Definition at line 520 of file base/logging.h.
|
static |
Definition at line 1632 of file base/logging.cc.
| GOOGLE_GLOG_DLL_DECL void InitGoogleLogging | ( | const char * | argv0 | ) |
Definition at line 1873 of file base/logging.cc.
| GOOGLE_GLOG_DLL_DECL bool InitVLOG3__ | ( | int32_t ** | site_flag, |
| int32_t * | site_default, | ||
| const char * | fname, | ||
| int32_t | verbose_level | ||
| ) |
Definition at line 186 of file vlog_is_on.cc.
| GOOGLE_GLOG_DLL_DECL void InstallFailureFunction | ( | void(*)() | fail_func | ) |
Definition at line 1389 of file base/logging.cc.
|
inline |
Definition at line 1171 of file base/logging.h.
|
static |
Definition at line 1382 of file base/logging.cc.
| GOOGLE_GLOG_DLL_DECL void LogToStderr | ( | ) |
Definition at line 1567 of file base/logging.cc.
| std::string * MakeCheckOpString | ( | const T1 & | v1, |
| const T2 & | v2, | ||
| const char * | exprtext | ||
| ) |
Definition at line 603 of file base/logging.h.
| GOOGLE_GLOG_DLL_DECL void MakeCheckOpValueString | ( | std::ostream * | os, |
| const char & | v | ||
| ) |
Definition at line 1842 of file base/logging.cc.
| GOOGLE_GLOG_DLL_DECL void MakeCheckOpValueString | ( | std::ostream * | os, |
| const signed char & | v | ||
| ) |
Definition at line 1851 of file base/logging.cc.
| GOOGLE_GLOG_DLL_DECL void MakeCheckOpValueString | ( | std::ostream * | os, |
| const std::nullptr_t & | v | ||
| ) |
Definition at line 1869 of file base/logging.cc.
|
inline |
Definition at line 541 of file base/logging.h.
| GOOGLE_GLOG_DLL_DECL void MakeCheckOpValueString | ( | std::ostream * | os, |
| const unsigned char & | v | ||
| ) |
Definition at line 1860 of file base/logging.cc.
|
static |
Definition at line 305 of file base/logging.cc.
|
inline |
Definition at line 1458 of file base/logging.h.
| GOOGLE_GLOG_DLL_DECL std::ostream & operator<< | ( | ostream & | os, |
| const PRIVATE_Counter & | |||
| ) |
Definition at line 1482 of file base/logging.cc.
| GOOGLE_GLOG_DLL_DECL int posix_strerror_r | ( | int | err, |
| char * | buf, | ||
| size_t | len | ||
| ) |
Definition at line 1749 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 1555 of file base/logging.cc.
| GOOGLE_GLOG_DLL_DECL void ReprintFatalMessage | ( | ) |
Definition at line 1260 of file base/logging.cc.
| GOOGLE_GLOG_DLL_DECL void SetLogDestination | ( | LogSeverity | severity, |
| const char * | base_filename | ||
| ) |
Definition at line 1514 of file base/logging.cc.
| GOOGLE_GLOG_DLL_DECL void SetLogFilenameExtension | ( | const char * | ext | ) |
Definition at line 1559 of file base/logging.cc.
| GOOGLE_GLOG_DLL_DECL void SetLogSymlink | ( | LogSeverity | severity, |
| const char * | symlink_basename | ||
| ) |
Definition at line 1518 of file base/logging.cc.
| GOOGLE_GLOG_DLL_DECL void SetStderrLogging | ( | LogSeverity | min_severity | ) |
Definition at line 1563 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 1603 of file base/logging.cc.
| GOOGLE_GLOG_DLL_DECL void ShutdownGoogleLogging | ( | ) |
Definition at line 1877 of file base/logging.cc.
| GOOGLE_GLOG_DLL_DECL std::string StrError | ( | int | err | ) |
Definition at line 1799 of file base/logging.cc.
| void TestOnly_ClearLoggingDirectoriesList | ( | ) |
Definition at line 1706 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 1049 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 1258 of file base/logging.cc.
|
static |
Definition at line 1051 of file base/logging.cc.
|
static |
Definition at line 1052 of file base/logging.cc.
|
static |
Definition at line 1050 of file base/logging.cc.
|
static |
Definition at line 1048 of file base/logging.cc.
|
static |
Definition at line 1257 of file base/logging.cc.
| GOOGLE_GLOG_DLL_DECL logging_fail_func_t g_logging_fail_func = &logging_fail |
Definition at line 1387 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 1598 of file base/logging.cc.
|
static |
Definition at line 72 of file raw_logging.cc.
| int32_t 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 1681 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 1057 of file base/logging.cc.
|
static |
Definition at line 1061 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.