52 log.error(location, message);
This class provides a lightweight logger.
void warning(LogLocation loc, std::string_view mess) noexcept
void error(LogLocation loc, std::string_view mess) noexcept
Logger & operator=(Logger other)
void debug(LogLocation loc, std::string_view mess) noexcept
void info(LogLocation loc, std::string_view mess) noexcept
Logger(Logger &&other) noexcept
void swap(Logger &other) noexcept
Logger(std::string_view module)
~Logger()
This is required for the std::unique_ptr.
std::unique_ptr< LoggerImpl > _impl
Pimpl to the logger implementation.
void trace(LogLocation loc, std::string_view mess) noexcept
contains the logging framework.
void logErrorAndThrow(precice::logging::Logger &log, precice::logging::LogLocation location, const std::string &message)
Utility function to log an error and throw an exception of given type.
Struct used to capture the original location of a log request.