[#absl-InitializeLog] = xref:absl.adoc[absl]::InitializeLog :relfileprefix: ../ :mrdocs: Initializes the Abseil logging library. == Synopsis Declared in `<absl/log/initialize.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void InitializeLog(); ---- == Description Before this function is called, all log messages are directed only to stderr. After initialization is finished, log messages are directed to all registered `LogSink`s. It is an error to call this function twice. There is no corresponding function to shut down the logging library. [.small]#Created with https://www.mrdocs.com[MrDocs]#