#include <string>
#include "absl/base/attributes.h"
#include "absl/base/internal/atomic_hook.h"
#include "absl/base/log_severity.h"
#include "absl/base/macros.h"
#include "absl/base/port.h"
Go to the source code of this file.
#define ABSL_INTERNAL_CHECK | ( | condition, | |
message | |||
) |
do { \ if (ABSL_PREDICT_FALSE(!(condition))) { \ std::string death_message = "Check " #condition " failed: "; \ death_message += std::string(message); \ ABSL_INTERNAL_LOG(FATAL, death_message); \ } \ } while (0)
Definition at line 83 of file raw_logging.h.
#define ABSL_INTERNAL_LOG | ( | severity, | |
message | |||
) |
do { \ constexpr const char* absl_raw_logging_internal_basename = \ ::absl::raw_logging_internal::Basename(__FILE__, \ sizeof(__FILE__) - 1); \ ::absl::raw_logging_internal::internal_log_function( \ ABSL_RAW_LOGGING_INTERNAL_##severity, \ absl_raw_logging_internal_basename, __LINE__, message); \ } while (0)
Definition at line 73 of file raw_logging.h.
#define ABSL_RAW_CHECK | ( | condition, | |
message | |||
) |
do { \ if (ABSL_PREDICT_FALSE(!(condition))) { \ ABSL_RAW_LOG(FATAL, "Check %s failed: %s", #condition, message); \ } \ } while (0)
Definition at line 57 of file raw_logging.h.
#define ABSL_RAW_LOG | ( | severity, | |
... | |||
) |
do { \ constexpr const char* absl_raw_logging_internal_basename = \ ::absl::raw_logging_internal::Basename(__FILE__, \ sizeof(__FILE__) - 1); \ ::absl::raw_logging_internal::RawLog(ABSL_RAW_LOGGING_INTERNAL_##severity, \ absl_raw_logging_internal_basename, \ __LINE__, __VA_ARGS__); \ } while (0)
Definition at line 42 of file raw_logging.h.
Definition at line 94 of file raw_logging.h.
Definition at line 95 of file raw_logging.h.
Definition at line 92 of file raw_logging.h.
#define ABSL_RAW_LOGGING_INTERNAL_LEVEL | ( | severity | ) | ::absl::NormalizeLogSeverity(severity) |
Definition at line 96 of file raw_logging.h.
Definition at line 93 of file raw_logging.h.