Interface Documentation
Version: invalid
Public Member Functions | Protected Attributes | List of all members
flecsi::log::log_message_t Struct Reference

#include <message.hh>

Public Member Functions

 log_message_t (const char *file, int line)
 
virtual std::ostream & stream ()
 

Protected Attributes

const char * file_
 
int line_
 
bool clean_color_
 

Detailed Description

The log_message_t type provides a base class for implementing formatted logging utilities.

Constructor & Destructor Documentation

◆ log_message_t()

flecsi::log::log_message_t::log_message_t ( const char *  file,
int  line 
)
inline

Constructor.

Parameters
fileThe current file (where the log message was created). In general, this will always use the FILE parameter from the calling macro.
lineThe current line (where the log message was called). In general, this will always use the LINE parameter from the calling macro.

Member Function Documentation

◆ stream()

virtual std::ostream& flecsi::log::log_message_t::stream ( )
inlinevirtual

Return the output stream. Override this method to add additional formatting to a particular severity output.


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