A LogSeverity FATAL (or QFATAL) version of LogMessage that the compiler can interpret as noreturn.
More...
#include <logging.h>
|
ABSL_ATTRIBUTE_NORETURN | ~LogMessageFatal () |
| The destructor flushes the message and does not return. More...
|
|
| LogMessageFatal (const char *file, int line, LogSeverity severity) |
| Constructs a new message with FATAL severity. More...
|
|
| LogMessageFatal (const char *file, int line, const std::string &result) |
| Constructs a message with FATAL severity for use by CHECK macros. More...
|
|
| LogMessage (const char *file, int line) |
| Constructs a new message with INFO severity. More...
|
|
| LogMessage (const char *file, int line, LogSeverity severity) |
| Constructs a new message with the specified severity. More...
|
|
| LogMessage (const char *file, int line, const std::string &result) |
| Constructs a log message with additional text that is provided by CHECK macros. More...
|
|
| ~LogMessage () |
| The destructor flushes the message. More...
|
|
std::ostringstream & | stream () |
| Gets a reference to the underlying string stream. More...
|
|
A LogSeverity FATAL (or QFATAL) version of LogMessage that the compiler can interpret as noreturn.
◆ ~LogMessageFatal()
ABSL_ATTRIBUTE_NORETURN asylo::LogMessageFatal::~LogMessageFatal |
( |
| ) |
|
The destructor flushes the message and does not return.
◆ LogMessageFatal() [1/2]
asylo::LogMessageFatal::LogMessageFatal |
( |
const char * |
file, |
|
|
int |
line, |
|
|
LogSeverity |
severity |
|
) |
| |
|
inline |
Constructs a new message with FATAL severity.
- Parameters
-
file | The source file that produced the log. |
line | The source code line that produced the log. |
severity | The severity for the message (FATAL or QFATAL). |
◆ LogMessageFatal() [2/2]
asylo::LogMessageFatal::LogMessageFatal |
( |
const char * |
file, |
|
|
int |
line, |
|
|
const std::string & |
result |
|
) |
| |
|
inline |
Constructs a message with FATAL severity for use by CHECK macros.
- Parameters
-
file | The source file that produced the log. |
line | The source code line that produced the log. |
result | The result message when check fails. |
The documentation for this class was generated from the following file: