Typedefs | |
using | AbortHook = void(*)(const char *file, int line, const char *buf_start, const char *prefix_end, const char *buf_end) |
using | InternalLogFunction = void(*)(absl::LogSeverity severity, const char *file, int line, const std::string &message) |
using | LogPrefixHook = bool(*)(absl::LogSeverity severity, const char *file, int line, char **buffer, int *buf_size) |
Functions | |
constexpr const char * | Basename (const char *fname, int offset) |
static void | DefaultInternalLog (absl::LogSeverity severity, const char *file, int line, const std::string &message) |
ABSL_CONST_INIT absl::base_internal::AtomicHook< InternalLogFunction > | internal_log_function (DefaultInternalLog) |
void | RawLog (absl::LogSeverity severity, const char *file, int line, const char *format,...) ABSL_PRINTF_ATTRIBUTE(4 |
bool | RawLoggingFullySupported () |
void | RegisterInternalLogFunction (InternalLogFunction func) |
void | SafeWriteToStderr (const char *s, size_t len) |
Variables | |
base_internal::AtomicHook< InternalLogFunction > | internal_log_function |
using absl::raw_logging_internal::AbortHook = typedef void (*)(const char* file, int line, const char* buf_start, const char* prefix_end, const char* buf_end) |
Definition at line 164 of file raw_logging.h.
using absl::raw_logging_internal::InternalLogFunction = typedef void (*)(absl::LogSeverity severity, const char* file, int line, const std::string& message) |
Definition at line 172 of file raw_logging.h.
using absl::raw_logging_internal::LogPrefixHook = typedef bool (*)(absl::LogSeverity severity, const char* file, int line, char** buffer, int* buf_size) |
Definition at line 152 of file raw_logging.h.
constexpr const char* absl::raw_logging_internal::Basename | ( | const char * | fname, |
int | offset | ||
) |
Definition at line 119 of file raw_logging.h.
|
static |
Definition at line 214 of file raw_logging.cc.
ABSL_CONST_INIT absl::base_internal::AtomicHook<InternalLogFunction> absl::raw_logging_internal::internal_log_function | ( | DefaultInternalLog | ) |
void absl::raw_logging_internal::RawLog | ( | absl::LogSeverity | severity, |
const char * | file, | ||
int | line, | ||
const char * | format, | ||
... | |||
) |
Definition at line 202 of file raw_logging.cc.
bool absl::raw_logging_internal::RawLoggingFullySupported | ( | ) |
Definition at line 219 of file raw_logging.cc.
void absl::raw_logging_internal::RegisterInternalLogFunction | ( | InternalLogFunction | func | ) |
Definition at line 230 of file raw_logging.cc.
void void absl::raw_logging_internal::SafeWriteToStderr | ( | const char * | s, |
size_t | len | ||
) |
Definition at line 186 of file raw_logging.cc.
base_internal::AtomicHook<InternalLogFunction> absl::raw_logging_internal::internal_log_function |