Typedefs | Functions | Variables
absl::raw_logging_internal Namespace Reference

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< InternalLogFunctioninternal_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< InternalLogFunctioninternal_log_function
 

Typedef Documentation

◆ AbortHook

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.

◆ InternalLogFunction

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.

◆ LogPrefixHook

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.

Function Documentation

◆ Basename()

constexpr const char* absl::raw_logging_internal::Basename ( const char *  fname,
int  offset 
)

Definition at line 119 of file raw_logging.h.

◆ DefaultInternalLog()

static void absl::raw_logging_internal::DefaultInternalLog ( absl::LogSeverity  severity,
const char *  file,
int  line,
const std::string &  message 
)
static

Definition at line 214 of file raw_logging.cc.

◆ internal_log_function()

ABSL_CONST_INIT absl::base_internal::AtomicHook<InternalLogFunction> absl::raw_logging_internal::internal_log_function ( DefaultInternalLog  )

◆ RawLog()

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.

◆ RawLoggingFullySupported()

bool absl::raw_logging_internal::RawLoggingFullySupported ( )

Definition at line 219 of file raw_logging.cc.

◆ RegisterInternalLogFunction()

void absl::raw_logging_internal::RegisterInternalLogFunction ( InternalLogFunction  func)

Definition at line 230 of file raw_logging.cc.

◆ SafeWriteToStderr()

void void absl::raw_logging_internal::SafeWriteToStderr ( const char *  s,
size_t  len 
)

Definition at line 186 of file raw_logging.cc.

Variable Documentation

◆ internal_log_function

base_internal::AtomicHook<InternalLogFunction> absl::raw_logging_internal::internal_log_function


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:23