preCICE
v3.1.2
Loading...
Searching...
No Matches
src
logging
Tracer.hpp
Go to the documentation of this file.
1
#pragma once
2
#include "
Logger.hpp
"
3
4
namespace
precice
{
5
namespace
logging {
6
class
Logger;
7
struct
LogLocation;
8
9
class
Tracer
{
10
public
:
11
Tracer
(
Logger
&log,
LogLocation
loc);
12
~Tracer
();
13
14
private
:
15
Logger
&
_log
;
16
17
LogLocation
_loc
;
18
};
19
20
}
// namespace logging
21
}
// namespace precice
Logger.hpp
precice::logging::Logger
This class provides a lightweight logger.
Definition
Logger.hpp:16
precice::logging::Tracer
Definition
Tracer.hpp:9
precice::logging::Tracer::_log
Logger & _log
Definition
Tracer.hpp:15
precice::logging::Tracer::_loc
LogLocation _loc
Definition
Tracer.hpp:17
precice::logging::Tracer::Tracer
Tracer(Logger &log, LogLocation loc)
Definition
Tracer.cpp:8
precice::logging::Tracer::~Tracer
~Tracer()
Definition
Tracer.cpp:16
precice
Main namespace of the precice library.
Definition
Acceleration.cpp:5
precice::logging::LogLocation
Struct used to capture the original location of a log request.
Definition
Logger.hpp:9