preCICE v3.1.1
Loading...
Searching...
No Matches
Tracer.cpp
Go to the documentation of this file.
1#include "Tracer.hpp"
2#include <string>
3#include <utility>
4#include "logging/Logger.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:16
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:9