class LogSink

Defined at line 37 of file ../../third_party/abseil-cpp/absl/log/log_sink.h

absl::LogSink

`absl::LogSink` is an interface which can be extended to intercept and

process particular messages (with `LOG.ToSinkOnly()` or

`LOG.ToSinkAlso()`) or all messages (if registered with

`absl::AddLogSink`). Implementations must not take any locks that might be

held by the `LOG` caller.

Public Methods

void Send (const absl::LogEntry & entry)

LogSink::Send()

`Send` is called synchronously during the log statement. `Send` must be

thread-safe.

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.

void ~LogSink ()

Defined at line 39 of file ../../third_party/abseil-cpp/absl/log/log_sink.h

void Flush ()

LogSink::Flush()

Sinks that buffer messages should override this method to flush the buffer

and return. `Flush` must be thread-safe.

Defined at line 55 of file ../../third_party/abseil-cpp/absl/log/log_sink.h

Protected Methods

void LogSink ()

Defined at line 58 of file ../../third_party/abseil-cpp/absl/log/log_sink.h

void LogSink (const LogSink & )

Implementations may be copyable and/or movable.

Defined at line 60 of file ../../third_party/abseil-cpp/absl/log/log_sink.h

LogSink & operator= (const LogSink & )

Defined at line 61 of file ../../third_party/abseil-cpp/absl/log/log_sink.h