Constructors

Synopses

Declared in <absl/log/log_streamer.h>

Moves the state of that into this LogStreamer.

LogStreamer(LogStreamer&& that) noexcept;

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());

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);

Parameters

Name

Description

that

The LogStreamer to move from.

severity

The severity to log the buffered message at.

loc

The source location the message is attributed to.

file

The source file the message is attributed to.

line

The source line the message is attributed to.

Created with MrDocs