AmpGen 2.1
Loading...
Searching...
No Matches
MsgService.h File Reference
#include <iomanip>
#include <iostream>
#include <string>
#include <type_traits>

Go to the source code of this file.

Classes

struct  AmpGen::detail::debug_type< T >

Namespaces

namespace  AmpGen
namespace  AmpGen::detail

Macros

#define WARNINGLEVEL   1
#define ENABLE_DEBUG(X)
#define DEBUG(X)
 Used for printing verbose debugging messages, only if DEBUGLEVEL is defined.
#define INFO(X)
 Used for printing information messages, and will always be printed.
#define ERROR(X)
 Used for printing errors messages, and will always be printed.
#define FATAL(X)
 Used for printing fatal errors messages, and will always be printed and will terminate the process afterwards.
#define WARNING(X)
 Used for printing warning messages, can be switched off using WARNINGLEVEL.

Functions

std::string AmpGen::detail::trimmedString (std::string thing, const unsigned int &length=FCNNAMELENGTH)
std::ostream & AmpGen::detail::labelled_stream (const std::string &function_name)

Variables

static constexpr int AmpGen::detail::FCNNAMELENGTH = 38

Macro Definition Documentation

◆ ENABLE_DEBUG

#define ENABLE_DEBUG ( X)
Value:
namespace AmpGen { \
namespace detail { \
template <> struct debug_type<X> : std::true_type {}; \
} \
}

Definition at line 51 of file MsgService.h.

◆ WARNINGLEVEL

#define WARNINGLEVEL   1

Definition at line 19 of file MsgService.h.