Asylo
Public Member Functions | List of all members
asylo::LogMessageFatal Class Reference

Default LogSeverity FATAL version of LogMessage. More...

#include <logging.h>

Inheritance diagram for asylo::LogMessageFatal:
Inheritance graph
[legend]
Collaboration diagram for asylo::LogMessageFatal:
Collaboration graph
[legend]

Public Member Functions

 LogMessageFatal (const char *file, int line)
 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...
 
- Public Member Functions inherited from asylo::LogMessage
 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...
 

Detailed Description

Default LogSeverity FATAL version of LogMessage.

Constructor & Destructor Documentation

◆ LogMessageFatal() [1/2]

asylo::LogMessageFatal::LogMessageFatal ( const char *  file,
int  line 
)
inline

Constructs a new message with FATAL severity.

Parameters
fileThe source file that produced the log.
lineThe source code line that produced the log.

◆ 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
fileThe source file that produced the log.
lineThe source code line that produced the log.
resultThe result message when check fails.

The documentation for this class was generated from the following file: