Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
Utilities for tracing values in a log file. More...
#include <iostream>
#include <fstream>
#include <string>
#include <memory>
#include <datatools/utils.h>
Go to the source code of this file.
Classes | |
class | datatools::tracer |
A tracer object stores some arbitrary output in a trace file. More... | |
Namespaces | |
datatools | |
The Bayeux/datatools library top-level namespace. | |
Macros | |
#define | DT_TRACER_INIT(TracerId, TracerFilename) |
#define | DT_TRACER_TRACE(TracerId, Value) |
#define | DT_TRACER_MESSAGE(TracerId, Message) |
#define | DT_TRACER_RESET(TracerId) |
Utilities for tracing values in a log file.
Tracing information from the progress of an application is useful to record the history of some values of interest for example while shooting random numbers and/or associated values.
#define DT_TRACER_INIT | ( | TracerId, | |
TracerFilename | |||
) |
#define DT_TRACER_MESSAGE | ( | TracerId, | |
Message | |||
) |
#define DT_TRACER_RESET | ( | TracerId | ) |
#define DT_TRACER_TRACE | ( | TracerId, | |
Value | |||
) |