absl::LogStreamer::LogStreamer

Constructors

Synopses

Declared in <absl/log/log_streamer.h>

Moves the state of that into this LogStreamer.

LogStreamer(LogStreamer&& that) noexcept;
» more...

Creates a LogStreamer with a given severity that will log a message attributed to the given source location.

explicit
LogStreamer(
    absl::LogSeverity severity,
    absl::SourceLocation loc = absl::SourceLocation::current());
» more...

Creates a LogStreamer with a given severity that will log a message attributed to the given file and line.

explicit
LogStreamer(
    absl::LogSeverity severity,
    std::string_view file,
    int line);
» more...

Parameters

NameDescription
thatThe LogStreamer to move from.
severityThe severity to log the buffered message at.
locThe source location the message is attributed to.
fileThe source file the message is attributed to.
lineThe source line the message is attributed to.