11#ifndef HEPMC3_ERRORS_H
12#define HEPMC3_ERRORS_H
24#define HEPMC3_ERROR(MESSAGE) if ( Setup::print_errors() ) { std::cerr << "ERROR::" << MESSAGE << std::endl; }
27#define HEPMC3_ERROR_LEVEL(LEVEL,MESSAGE) if ( Setup::errors_level()>=(LEVEL) && Setup::print_errors() ) { std::cerr << "ERROR::" << MESSAGE << std::endl; }
31#define HEPMC3_WARNING(MESSAGE) if ( Setup::print_warnings() ) { std::cout << "WARNING::" << MESSAGE << std::endl; }
34#define HEPMC3_WARNING_LEVEL(LEVEL,MESSAGE) if ( Setup::warnings_level()>=(LEVEL) && Setup::print_warnings() ) { std::cout << "WARNING::" << MESSAGE << std::endl; }
38#ifndef HEPMC3_RELEASE_VERSION
41#define HEPMC3_DEBUG(LEVEL,MESSAGE) if ( Setup::debug_level()>=(LEVEL) ) { std::cout << "DEBUG(" << LEVEL <<")::" << MESSAGE << std::endl; }
43#define HEPMC3_DEBUG_CODE_BLOCK( x ) x
47#define HEPMC3_DEBUG( x,y )
48#define HEPMC3_DEBUG_CODE_BLOCK( x )
Definition of class Setup.