flexiblesusy is hosted by Hepforge, IPPP Durham
FlexibleSUSY
logger.hpp File Reference
#include <functional>
#include <iostream>
Include dependency graph for logger.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  flexiblesusy
 

Macros

#define DEBUG_MSG(msg)    flexiblesusy::print_debug([&] { std::cerr << msg; }, __FILE__, __LINE__)
 
#define ERROR(msg)    flexiblesusy::print_error([&] { std::cerr << msg; }, __FILE__, __LINE__)
 
#define FATAL(msg)    flexiblesusy::print_fatal([&] { std::cerr << msg; }, __FILE__, __LINE__)
 
#define INFO(msg)    flexiblesusy::print_info([&] { std::cerr << msg; }, __FILE__, __LINE__)
 
#define VERBOSE_MSG(msg)    flexiblesusy::print_verbose([&] { std::cerr << msg; }, __FILE__, __LINE__)
 
#define WARNING(msg)    flexiblesusy::print_warning([&] { std::cerr << msg; }, __FILE__, __LINE__)
 

Functions

void flexiblesusy::print_debug (std::function< void()> &&, const char *, int)
 
void flexiblesusy::print_error (std::function< void()> &&f, const char *, int)
 
void flexiblesusy::print_fatal (std::function< void()> &&f, const char *filename, int line)
 
void flexiblesusy::print_info (std::function< void()> &&f, const char *, int)
 
void flexiblesusy::print_verbose (std::function< void()> &&, const char *, int)
 
void flexiblesusy::print_warning (std::function< void()> &&f, const char *, int)
 

Macro Definition Documentation

◆ DEBUG_MSG

#define DEBUG_MSG (   msg)     flexiblesusy::print_debug([&] { std::cerr << msg; }, __FILE__, __LINE__)

Definition at line 59 of file logger.hpp.

◆ ERROR

#define ERROR (   msg)     flexiblesusy::print_error([&] { std::cerr << msg; }, __FILE__, __LINE__)

Definition at line 65 of file logger.hpp.

◆ FATAL

#define FATAL (   msg)     flexiblesusy::print_fatal([&] { std::cerr << msg; }, __FILE__, __LINE__)

Definition at line 67 of file logger.hpp.

◆ INFO

#define INFO (   msg)     flexiblesusy::print_info([&] { std::cerr << msg; }, __FILE__, __LINE__)

Definition at line 61 of file logger.hpp.

◆ VERBOSE_MSG

#define VERBOSE_MSG (   msg)     flexiblesusy::print_verbose([&] { std::cerr << msg; }, __FILE__, __LINE__)

Definition at line 57 of file logger.hpp.

◆ WARNING

#define WARNING (   msg)     flexiblesusy::print_warning([&] { std::cerr << msg; }, __FILE__, __LINE__)

Definition at line 63 of file logger.hpp.