Gazebo Common

API Reference

6.0.0
LogMessage Class Reference

Helper class for providing gzlog macros. More...

#include <Console.hh>

Public Member Functions

 LogMessage (const char *_file, int _line, spdlog::level::level_enum _logLevel)
 Constructor.
 
 ~LogMessage ()
 Destructor.
 
std::ostreamstream ()
 Get access to the underlying stream.
 

Detailed Description

Helper class for providing gzlog macros.

Constructor & Destructor Documentation

◆ LogMessage()

LogMessage ( const char *  _file,
int  _line,
spdlog::level::level_enum  _logLevel 
)

Constructor.

Parameters
[in]_fileFilename.
[in]_lineLine number.
[in]_logLevelLog level.

◆ ~LogMessage()

~LogMessage ( )

Destructor.

Member Function Documentation

◆ stream()

std::ostream & stream ( )

Get access to the underlying stream.

Returns
The underlying stream.

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