class for logging reports. The usage of this log class is described on page The Log utilities provided by miind
More...
#include <Log.hpp>
class for logging reports. The usage of this log class is described on page The Log utilities provided by miind
Definition at line 141 of file Log.hpp.
UtilLib::Log::Log |
( |
const Log & |
| ) |
|
|
delete |
destructor which writes the message to the stream
Definition at line 133 of file Log.cpp.
LogLevel UtilLib::Log::getReportingLevel |
( |
| ) |
|
|
static |
getter for the current report level
- Returns
- the current report level
Definition at line 129 of file Log.cpp.
std::shared_ptr< std::ostream > UtilLib::Log::getStream |
( |
| ) |
|
|
static |
The Stream it writes to the standard is std::cerr
- Returns
- The Stream it writes to
Definition at line 87 of file Log.cpp.
Log& UtilLib::Log::operator= |
( |
const Log & |
| ) |
|
|
delete |
copy operator deleted
- Returns
- the copy of log
void UtilLib::Log::setReportingLevel |
( |
LogLevel |
level | ) |
|
|
static |
setter for the report level
- Parameters
-
level | The new report level |
Definition at line 122 of file Log.cpp.
void UtilLib::Log::setStream |
( |
std::shared_ptr< std::ostream > |
pStream | ) |
|
|
static |
Setter for the stream
- Parameters
-
pStream | The Stream the log class should print to. |
Definition at line 91 of file Log.cpp.
std::ostringstream & UtilLib::Log::writeReport |
( |
LogLevel |
level = logINFO | ) |
|
takes the log message and stores it in the buffer
- Parameters
-
level | The level of the log message |
- Returns
- a ostringstream
Definition at line 105 of file Log.cpp.
The documentation for this class was generated from the following files:
- /home/tanakas/Documents/13_LBMCELL/lbmsolver/libs/UtilLib/include/Log.hpp
- /home/tanakas/Documents/13_LBMCELL/lbmsolver/libs/UtilLib/src/Log.cpp