StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EvtReport.hh
1 //--------------------------------------------------------------------------
2 //
3 // Environment:
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.
7 //
8 // Copyright Information: See EvtGen/COPYRIGHT
9 // Copyright (C) 1998 Caltech, UCSB
10 //
11 // Module: EvtGen/EvtReport.hh
12 //
13 // Description:
14 //
15 // Modification history:
16 //
17 // Author: Simon Patton
18 // Created: Mon Jun 3 12:45:03 EDT 1996
19 //
20 //------------------------------------------------------------------------
21 
22 #ifndef EVTREPORT_HH
23 #define EVTREPORT_HH
24 
25 #include <iostream>
26 
27 enum EvtGenSeverity {
28  EVTGEN_EMERGENCY, // fatal
29  EVTGEN_ALERT, // requires immediate action
30  EVTGEN_CRITICAL, // serious
31  EVTGEN_ERROR,
32  EVTGEN_WARNING,
33  EVTGEN_NOTICE, // "normal but significant"
34  EVTGEN_INFO, // informational
35  EVTGEN_DEBUG // debug
36 };
37 
38 // function declaration
39 std::ostream& EvtGenReport(EvtGenSeverity severity,
40  const char* facility = 0);
41 
42 #endif