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_WARNING(MESSAGE) if ( Setup::print_warnings() ) { std::cout << "WARNING::" << MESSAGE << std::endl; }
30#ifndef HEPMC3_RELEASE_VERSION
33#define HEPMC3_DEBUG(LEVEL,MESSAGE) if ( Setup::debug_level()>=(LEVEL) ) { std::cout << "DEBUG(" << LEVEL <<")::" << MESSAGE << std::endl; }
35#define HEPMC3_DEBUG_CODE_BLOCK( x ) x
39#define HEPMC3_DEBUG( x,y )
40#define HEPMC3_DEBUG_CODE_BLOCK( x )
Definition of class Setup.