Send is called synchronously during the log statement. Send must be thread‐safe.
Synopsis
Declared in <absl/log/log_sink.h>
virtual
void
Send(absl::LogEntry const& entry) = 0;
Description
It is safe to use LOG within an implementation of Send. ToSinkOnly and ToSinkAlso are safe in general but can be used to create an infinite loop if you try.
Parameters
Name |
Description |
entry |
The log entry to process. |
Created with MrDocs