EleFits  4.0.0
A modern C++ API on top of CFitsIO

◆ logArgs()

template<typename TLogger , typename T0 , typename... Ts>
void Euclid::Fits::logArgs ( TLogger &&  logger,
T0 &&  arg0,
Ts &&...  args 
)

Log a heterogeneous list of arguments.

Applies operator<<() to arguments, separated with ", ". For example:

logArgs(std::cout, 1, 3.14, "str");

Prints: 1, 3.14, str

std::cout
Euclid::Fits::logArgs
void logArgs(TLogger &&logger, T0 &&arg0, Ts &&... args)
Log a heterogeneous list of arguments.
Definition: DataUtils.h:315