[#absl-LogStreamer-2constructor-029]
= xref:absl.adoc[absl]::xref:absl/LogStreamer.adoc[LogStreamer]::LogStreamer
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

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

Moves the state of `that` into this `LogStreamer`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/LogStreamer/2constructor-04.adoc[LogStreamer](xref:absl/LogStreamer.adoc[LogStreamer]&& that) noexcept;
----

[.small]#xref:absl/LogStreamer/2constructor-04.adoc[_» more&period;&period;&period;_]#

Creates a LogStreamer with a given `severity` that will log a message attributed to the given source location&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:absl/LogStreamer/2constructor-00.adoc[LogStreamer](
    xref:absl/LogSeverity.adoc[absl::LogSeverity] severity,
    xref:absl/SourceLocation.adoc[absl::SourceLocation] loc = absl&colon;&colon;SourceLocation&colon;&colon;current());
----

[.small]#xref:absl/LogStreamer/2constructor-00.adoc[_» more&period;&period;&period;_]#

Creates a LogStreamer with a given `severity` that will log a message attributed to the given `file` and `line`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:absl/LogStreamer/2constructor-020.adoc[LogStreamer](
    xref:absl/LogSeverity.adoc[absl::LogSeverity] severity,
    std::string&lowbar;view file,
    int line);
----

[.small]#xref:absl/LogStreamer/2constructor-020.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *that*
| The LogStreamer to move from&period;
| *severity*
| The severity to log the buffered message at&period;
| *loc*
| The source location the message is attributed to&period;
| *file*
| The source file the message is attributed to&period;
| *line*
| The source line the message is attributed to&period;
|===


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