[#absl-RemoveLogSink] = xref:absl.adoc[absl]::RemoveLogSink :relfileprefix: ../ :mrdocs: Removes a `absl::LogSink` as a consumer of logging data. == Synopsis Declared in `<absl/log/log_sink_registry.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void RemoveLogSink(xref:absl/LogSink.adoc[absl::LogSink]* sink); ---- == Description This function is thread‐safe. It is an error to attempt to remove a sink that isn't registered. To avoid unbounded recursion, dispatch to registered `absl::LogSink`s is disabled per‐thread while running the `Send()` method of registered `absl::LogSink`s. Affected messages are dispatched to a special internal sink instead which writes them to `stderr`. Do not call this inside `absl::LogSink::Send`. == Parameters [cols="1,4"] |=== | Name| Description | *sink* | The sink to unregister. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#