SUNphi  1.0
MinimalLogger.hpp File Reference

Minimal version of the logger. More...

Go to the source code of this file.

Functions

void SUNphi::minimalLogger (Logger &logger, const char *format,...)
 

Detailed Description

Minimal version of the logger.

This file can be included in place of Logger.hpp, in case the former cannot be included due to missing requirements, e.g. in presence of routine from which the actual logger depends, such as threads or MPI. The actual logger is called in the cpp file

Definition in file MinimalLogger.hpp.

Function Documentation

void SUNphi::minimalLogger ( Logger logger,
const char *  format,
  ... 
)

Wraps the actual logger through the old-style C variadic function

We cannot use variadic template version here, as the logger cannot be called directly here, since "Logger.hpp" is expected

Starts the variadic arguments

Starts the variadic arguments

Parameters
loggerLogger to be used
formatFormatting string

Definition at line 40 of file SUNphi.cpp.