GooFit  v2.1.3
Namespaces | Macros
Log.h File Reference
#include <iostream>
#include <fmt/format.h>
#include <goofit/Color.h>

Go to the source code of this file.

Namespaces

 GooFit
 

Macros

#define GOOFIT_INFO(...)
 
#define GOOFIT_INFO_F(...)
 
#define GOOFIT_INFO_C(color, ...)
 
#define GOOFIT_INFO_FC(color, ...)
 
#define GOOFIT_STATUS(...)
 
#define GOOFIT_STATUS_F(...)
 
#define GOOFIT_WARN(...)
 
#define GOOFIT_WARN_F(...)
 
#define GOOFIT_ERROR(...)
 
#define GOOFIT_ERROR_F(...)
 
#define GOOFIT_DEBUG(...)   {}
 
#define GOOFIT_DEBUG_F(...)   {}
 
#define GOOFIT_TRACE(...)   {}
 
#define GOOFIT_TRACE_F(...)   {}
 

Macro Definition Documentation

◆ GOOFIT_DEBUG

#define GOOFIT_DEBUG (   ...)    {}

◆ GOOFIT_DEBUG_F

#define GOOFIT_DEBUG_F (   ...)    {}

Definition at line 98 of file Log.h.

◆ GOOFIT_ERROR

#define GOOFIT_ERROR (   ...)
Value:
{ \
std::cout << GooFit::reset << GooFit::red << GooFit::bold; \
fmt::print(__VA_ARGS__); \
std::cout << GooFit::reset << std::endl; \
}
constexpr rang::style const bold
Definition: Color.h:17
constexpr rang::fg const red
Definition: Color.h:9
constexpr rang::style const reset
Definition: Color.h:16

Definition at line 58 of file Log.h.

◆ GOOFIT_ERROR_F

#define GOOFIT_ERROR_F (   ...)
Value:
{ \
std::cout << GooFit::reset << GooFit::red << GooFit::bold; \
fmt::printf(__VA_ARGS__); \
std::cout << GooFit::reset << std::endl; \
}
constexpr rang::style const bold
Definition: Color.h:17
constexpr rang::fg const red
Definition: Color.h:9
constexpr rang::style const reset
Definition: Color.h:16

Definition at line 64 of file Log.h.

◆ GOOFIT_INFO

#define GOOFIT_INFO (   ...)
Value:
{ \
std::cout << GooFit::reset << GooFit::blue; \
fmt::print(__VA_ARGS__); \
std::cout << GooFit::reset << std::endl; \
}
constexpr rang::fg const blue
Definition: Color.h:12
constexpr rang::style const reset
Definition: Color.h:16

Definition at line 10 of file Log.h.

Referenced by getData(), GooFit::BinnedDataSet::getNumWeightedEvents(), getToyData(), main(), makeToyDalitzPlots(), and GooFit::print_goofit_info().

◆ GOOFIT_INFO_C

#define GOOFIT_INFO_C (   color,
  ... 
)
Value:
{ \
std::cout << GooFit::reset << color; \
fmt::print(__VA_ARGS__); \
std::cout << GooFit::reset << std::endl; \
}
constexpr rang::style const reset
Definition: Color.h:16

Definition at line 22 of file Log.h.

◆ GOOFIT_INFO_F

#define GOOFIT_INFO_F (   ...)
Value:
{ \
std::cout << GooFit::reset << GooFit::blue; \
fmt::printf(__VA_ARGS__); \
std::cout << GooFit::reset << std::endl; \
}
constexpr rang::fg const blue
Definition: Color.h:12
constexpr rang::style const reset
Definition: Color.h:16

Definition at line 16 of file Log.h.

◆ GOOFIT_INFO_FC

#define GOOFIT_INFO_FC (   color,
  ... 
)
Value:
{ \
std::cout << GooFit::reset << color; \
fmt::printf(__VA_ARGS__); \
std::cout << GooFit::reset << std::endl; \
}
constexpr rang::style const reset
Definition: Color.h:16

Definition at line 28 of file Log.h.

◆ GOOFIT_STATUS

#define GOOFIT_STATUS (   ...)
Value:
{ \
std::cout << GooFit::reset << GooFit::magenta; \
fmt::print(__VA_ARGS__); \
std::cout << GooFit::reset << std::endl; \
}
constexpr rang::style const reset
Definition: Color.h:16
constexpr rang::fg const magenta
Definition: Color.h:13

Definition at line 34 of file Log.h.

◆ GOOFIT_STATUS_F

#define GOOFIT_STATUS_F (   ...)
Value:
{ \
std::cout << GooFit::reset << GooFit::magenta; \
fmt::printf(__VA_ARGS__); \
std::cout << GooFit::reset << std::endl; \
}
constexpr rang::style const reset
Definition: Color.h:16
constexpr rang::fg const magenta
Definition: Color.h:13

Definition at line 40 of file Log.h.

◆ GOOFIT_TRACE

#define GOOFIT_TRACE (   ...)    {}

Definition at line 126 of file Log.h.

Referenced by GooFit::Minuit1::Eval(), and GooFit::FCN::operator()().

◆ GOOFIT_TRACE_F

#define GOOFIT_TRACE_F (   ...)    {}

Definition at line 128 of file Log.h.

◆ GOOFIT_WARN

#define GOOFIT_WARN (   ...)
Value:
{ \
fmt::print(__VA_ARGS__); \
std::cout << GooFit::reset << std::endl; \
}
constexpr rang::fg const yellow
Definition: Color.h:11
constexpr rang::style const bold
Definition: Color.h:17
constexpr rang::style const reset
Definition: Color.h:16

Definition at line 46 of file Log.h.

Referenced by GooFit::Minuit1::Eval().

◆ GOOFIT_WARN_F

#define GOOFIT_WARN_F (   ...)
Value:
{ \
fmt::printf(__VA_ARGS__); \
std::cout << GooFit::reset << std::endl; \
}
constexpr rang::fg const yellow
Definition: Color.h:11
constexpr rang::style const bold
Definition: Color.h:17
constexpr rang::style const reset
Definition: Color.h:16

Definition at line 52 of file Log.h.