00001 //-------------------------------------------------------------------------- 00002 // 00003 // Environment: 00004 // This software is part of the EvtGen package developed jointly 00005 // for the BaBar and CLEO collaborations. If you use all or part 00006 // of it, please give an appropriate acknowledgement. 00007 // 00008 // Copyright Information: See EvtGen/COPYRIGHT 00009 // Copyright (C) 1998 Caltech, UCSB 00010 // 00011 // Module: EvtGen/EvtReport.hh 00012 // 00013 // Description: 00014 // 00015 // Modification history: 00016 // 00017 // Author: Simon Patton 00018 // Created: Mon Jun 3 12:45:03 EDT 1996 00019 // 00020 //------------------------------------------------------------------------ 00021 00022 #if !defined(TOOLBOX_FUNCTIONS_HH) 00023 #define TOOLBOX_FUNCTIONS_HH 00024 00025 #if !defined(FILENAME_ONLY) /* relative path includes */ 00026 00027 // system include files 00028 #include <iostream> 00029 00030 // user include files 00031 00032 #else /* filename-only includes */ 00033 #include <iostream> 00034 #include <types.h> 00035 #endif /* filename-only includes */ 00036 // system include files 00037 00038 // user include files 00039 00040 // forward declarations 00041 00042 // 00043 // constants, enums and typedefs 00044 // 00045 enum Severity { 00046 EMERGENCY, // fatal 00047 ALERT, // requires immediate action 00048 CRITICAL, // serious 00049 ERROR, 00050 WARNING, 00051 NOTICE, // "normal but significant" 00052 INFO, // informational 00053 DEBUG // debug 00054 }; 00055 00056 // function declaration 00057 std::ostream& report( Severity severity , 00058 const char* facility = 0 ) ; 00059 00060 // inline function definitions 00061 00062 #endif /* TOOLBOX_FUNCTIONS_HH */ 00063