1 //--------------------------------------------------------------------------
4 // This software is part of the EvtGen package developed jointly
5 // for the BaBar and CLEO collaborations. If you use all or part
6 // of it, please give an appropriate acknowledgement.
8 // Copyright Information: See EvtGen/COPYRIGHT
9 // Copyright (C) 1998 Caltech, UCSB
11 // Module: EvtReport.cc
13 // Description: definitions of global functions.
15 // Modification history:
17 // Simon Patton June 3, 1996 Module created
19 //------------------------------------------------------------------------
21 #include "EvtGenBase/EvtPatches.hh"
23 #include "EvtGenBase/EvtReport.hh"
31 // constants, enums and typedefs
35 ostream& report( Severity severity ,
36 const char* facility )
38 int printNoFacility=1;
40 if ( ( facility == 0 ) &&
41 ( printNoFacility ==1) ) {
42 cout << "There is no `facility' implemented in `report'"
46 if ( severity < WARNING ) {