Functions
-
void RawLog (absl::LogSeverity severity, const char * file, int line, const char * format)Helper function to implement ABSL_RAW_LOG
Logs format... at "severity" level, reporting it
as called from file:line.
This does not allocate memory or acquire locks.
-
void AsyncSignalSafeWriteError (const char * s, size_t len)Writes the provided buffer directly to stderr, in a signal-safe, low-level
manner. Preserves errno.
-
const char * Basename (const char * fname, int offset)compile-time function to get the "base" filename, that is, the part of
a filename after the last "/" or "\" path separator. The search starts at
the end of the string; the second parameter is the length of the string.
Defined at line 140 of file ../../third_party/abseil-cpp/absl/base/internal/raw_logging.h
-
bool RawLoggingFullySupported ()For testing only.
Returns true if raw logging is fully supported. When it is not
fully supported, no messages will be emitted, but a log at FATAL
severity will cause an abort.
TODO(gfalcon): Come up with a better name for this method.
-
void RegisterLogFilterAndPrefixHook (LogFilterAndPrefixHook func)Registers hooks of the above types. Only a single hook of each type may be
registered. It is an error to call these functions multiple times with
different input arguments.
These functions are safe to call at any point during initialization; they do
not block or malloc, and are async-signal safe.
-
void RegisterAbortHook (AbortHook func) -
void RegisterInternalLogFunction (InternalLogFunction func)
Variables
base_internal::AtomicHook<InternalLogFunction> internal_log_function