This class provides a lightweight logger.
More...
#include <Logger.hpp>
This class provides a lightweight logger.
Definition at line 17 of file Logger.hpp.
◆ Logger() [1/3]
| precice::logging::Logger::Logger |
( |
std::string_view | module | ) |
|
|
explicit |
Creates a logger for a given module.
- Parameters
-
| [in] | the | name of the module |
Definition at line 128 of file Logger.cpp.
◆ Logger() [2/3]
| precice::logging::Logger::Logger |
( |
const Logger & | other | ) |
|
Implements a deep copy of the implementation.
Definition at line 135 of file Logger.cpp.
◆ Logger() [3/3]
| precice::logging::Logger::Logger |
( |
Logger && | other | ) |
|
|
defaultnoexcept |
◆ ~Logger()
| precice::logging::Logger::~Logger |
( |
| ) |
|
|
default |
This is required for the std::unique_ptr.
◆ debug()
| void precice::logging::Logger::debug |
( |
LogLocation | loc, |
|
|
std::string_view | mess ) |
|
noexcept |
◆ error()
| void precice::logging::Logger::error |
( |
LogLocation | loc, |
|
|
std::string_view | mess ) |
|
noexcept |
◆ info()
| void precice::logging::Logger::info |
( |
LogLocation | loc, |
|
|
std::string_view | mess ) |
|
noexcept |
◆ operator=()
| Logger & precice::logging::Logger::operator= |
( |
Logger | other | ) |
|
◆ swap()
| void precice::logging::Logger::swap |
( |
Logger & | other | ) |
|
|
noexcept |
◆ trace()
| void precice::logging::Logger::trace |
( |
LogLocation | loc, |
|
|
std::string_view | mess ) |
|
noexcept |
◆ warning()
| void precice::logging::Logger::warning |
( |
LogLocation | loc, |
|
|
std::string_view | mess ) |
|
noexcept |
◆ _impl
| std::unique_ptr<LoggerImpl> precice::logging::Logger::_impl |
|
private |
Pimpl to the logger implementation.
Definition at line 45 of file Logger.hpp.
The documentation for this class was generated from the following files: