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.
Synopsis
Declared in <absl/log/log_sink.h>
class LogSink;
Member Functions
Name |
Description |
|
Destroys the log sink. |
|
Sinks that buffer messages should override this method to flush the buffer and return. |
|
|
Protected Member Functions
Name |
Description |
|
Constructors |
Implementations may be copyable and/or movable. |
Non-Member Functions
Name |
Description |
Adds a |
|
Removes a |
Created with MrDocs