preCICE v3.2.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Tracer.cpp
Go to the documentation of this file.
1#include <string>
2#include <utility>
3
4#include "logging/Tracer.hpp"
5
6namespace precice::logging {
7
9 Logger &log,
10 LogLocation loc)
11 : _log(log),
12 _loc(std::move(loc))
13{
14}
15
20
21} // namespace precice::logging
T append(T... args)
This class provides a lightweight logger.
Definition Logger.hpp:17
void trace(LogLocation loc, std::string_view mess) noexcept
Definition Logger.cpp:189
Tracer(Logger &log, LogLocation loc)
Definition Tracer.cpp:8
contains the logging framework.
STL namespace.
static precice::logging::Logger _log("precicec")
Struct used to capture the original location of a log request.
Definition Logger.hpp:10