[#absl-InitializeLog]
= xref:absl.adoc[absl]::InitializeLog
:relfileprefix: ../
:mrdocs:

Initializes the Abseil logging library&period;

== Synopsis

Declared in `&lt;absl&sol;log&sol;initialize&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
InitializeLog();
----

== Description

Before this function is called, all log messages are directed only to stderr&period; After initialization is finished, log messages are directed to all registered `LogSink`s&period;

It is an error to call this function twice&period;

There is no corresponding function to shut down the logging library&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
