35 #ifndef _BLAZE_UTIL_LOGGING_LOGSECTION_H_
36 #define _BLAZE_UTIL_LOGGING_LOGSECTION_H_
88 inline operator bool()
const;
95 template<
typename Type >
inline void log (
const Type& message );
114 void*
operator new ( std::size_t ) ;
115 void*
operator new[]( std::size_t ) ;
116 void*
operator new ( std::size_t,
const std::nothrow_t& ) ;
117 void*
operator new[]( std::size_t,
const std::nothrow_t& ) ;
119 void operator delete (
void* ) ;
120 void operator delete[](
void* ) ;
121 void operator delete (
void*,
const std::nothrow_t& ) ;
122 void operator delete[](
void*,
const std::nothrow_t& ) ;
146 : level_( ls.level_ )
164 inline LogSection::operator bool()
const
185 template<
typename Type >
204 template<
typename Type >
218 template<
typename Type >
221 logsection.
log( message );
void commit()
Commits the current log message to the log file.
Definition: LogSection.cpp:113
std::stringstream message_
Intermediate buffer for log messages.
Definition: LogSection.h:105
System settings for the logging functionality.
LogSection(LogLevel level)
Constructor for the LogSection class.
Definition: LogSection.cpp:71
LogLevel level_
The logging level of the log section.
Definition: LogSection.h:104
Logging section for (non-)MPI-parallel environments.The LogSection class is an auxiliary helper class...
Definition: LogSection.h:67
LogLevel
Logging levels.The LogLevel type enumeration represents the type of the global logging level...
Definition: LogLevel.h:75
LogSection & operator<<(LogSection &logsection, const Type &message)
Global output operator for the LogSection class.
Definition: LogSection.h:219
Header file for the logging levels.
void log(const Type &message)
Logs the given message to the log file.
Definition: LogSection.h:186
~LogSection()
Destructor for the LogSection class.
Definition: LogSection.cpp:89