cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
Message.h File Reference
#include <set>
#include <sstream>
#include <unordered_map>
#include "CepGen/Utils/Logger.h"
+ Include dependency graph for Message.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Message
 A generic message type. More...
 
class  LoggedMessage
 A simple exception handler. More...
 
struct  NullStream
 Placeholder for debugging messages if logging threshold is not reached. More...
 

Namespaces

namespace  cepgen
 Common namespace for this Monte Carlo generator.
 

Macros

#define __FUNC__   __PRETTY_FUNCTION__
 
#define CG_LOG
 
#define CG_INFO(mod)
 
#define CG_DEBUG(mod)
 
#define CG_DEBUG_LOOP(mod)
 
#define CG_WARNING(mod)
 

Macro Definition Documentation

◆ __FUNC__

#define __FUNC__   __PRETTY_FUNCTION__

Definition at line 209 of file Message.h.

◆ CG_DEBUG

#define CG_DEBUG (   mod)
Value:
(!CG_LOG_MATCH(mod, debug)) \
#define CG_LOG_MATCH(str, type)
Definition Logger.h:82
#define __FUNC__
Definition Message.h:209
A simple exception handler.
Definition Message.h:44
@ debug
Debugging information to be enabled.
Placeholder for debugging messages if logging threshold is not reached.
Definition Message.h:186

Definition at line 220 of file Message.h.

◆ CG_DEBUG_LOOP

#define CG_DEBUG_LOOP (   mod)
Value:
(!CG_LOG_MATCH(mod, debugInsideLoop)) \

Definition at line 224 of file Message.h.

◆ CG_INFO

#define CG_INFO (   mod)
Value:
(!CG_LOG_MATCH(mod, information)) \
@ info
Prettified information.

Definition at line 216 of file Message.h.

◆ CG_LOG

#define CG_LOG
Value:
static Logger & get(std::ostream *=nullptr)
Retrieve the running instance of the logger.
Definition Logger.cpp:31
Level level() const
Logging threshold.
Definition Logger.h:50

Definition at line 212 of file Message.h.

◆ CG_WARNING

#define CG_WARNING (   mod)
Value:
(!CG_LOG_MATCH(mod, warning)) \
@ warning
Casual non-stopping warning.

Definition at line 228 of file Message.h.