preCICE v3.2.0
Loading...
Searching...
No Matches
Logger.hpp File Reference
#include <memory>
#include <string>
#include <string_view>
#include "LogMacros.hpp"
Include dependency graph for Logger.hpp:

Go to the source code of this file.

Classes

struct  precice::logging::LogLocation
 Struct used to capture the original location of a log request. More...
class  precice::logging::Logger
 This class provides a lightweight logger. More...

Namespaces

namespace  precice
 Main namespace of the precice library.
namespace  precice::logging
 contains the logging framework.

Functions

template<class Error>
void precice::logging::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.