20 #ifndef MPILIB_UTILITIES_LOG_HPP_
21 #define MPILIB_UTILITIES_LOG_HPP_
171 static std::shared_ptr<std::ostream>
getStream();
177 static void setStream(std::shared_ptr<std::ostream> pStream);
226 if (level > MPILib::utilities::Log::getReportingLevel() || ! MPILib::utilities::Log::getStream()) ; \
227 else MPILib::utilities::Log().writeReport(level)
static std::shared_ptr< std::ostream > _pStream
static void setReportingLevel(LogLevel level)
class for logging reports. The usage of this log class is described on page The Log utilities provide...
static LogLevel getReportingLevel()
std::ostringstream _buffer
static LogLevel _reportingLevel
static void writeOutput(const std::string &msg)
static void setStream(std::shared_ptr< std::ostream > pStream)
Log & operator=(const Log &)=delete
static std::shared_ptr< std::ostream > getStream()
std::ostringstream & writeReport(LogLevel level=logINFO)