absl::LogFatalStreamer

Returns a LogStreamer that writes at level LogSeverity::kFatal.

Synopsis

Declared in <absl/log/log_streamer.h>

LogStreamer
LogFatalStreamer(
    std::string_view file,
    int line);

Description

The program will be terminated when this LogStreamer is destroyed, regardless of whether any data were streamed in.

Return Value

A LogStreamer configured to log at LogSeverity::kFatal.

Parameters

NameDescription
fileThe source file the message is attributed to.
lineThe source line the message is attributed to.