]>
Commit | Line | Data |
---|---|---|
da0e9ce3 | 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 | #if !defined(TOOLBOX_FUNCTIONS_HH) | |
23 | #define TOOLBOX_FUNCTIONS_HH | |
24 | ||
25 | #if !defined(FILENAME_ONLY) /* relative path includes */ | |
26 | ||
27 | // system include files | |
28 | #include <iostream> | |
29 | ||
30 | // user include files | |
31 | ||
32 | #else /* filename-only includes */ | |
33 | #include <iostream> | |
34 | #include <types.h> | |
35 | #endif /* filename-only includes */ | |
36 | // system include files | |
37 | ||
38 | // user include files | |
39 | ||
40 | // forward declarations | |
41 | ||
42 | // | |
43 | // constants, enums and typedefs | |
44 | // | |
45 | enum Severity { | |
46 | EMERGENCY, // fatal | |
47 | ALERT, // requires immediate action | |
48 | CRITICAL, // serious | |
49 | ERROR, | |
50 | WARNING, | |
51 | NOTICE, // "normal but significant" | |
52 | INFO, // informational | |
53 | DEBUG // debug | |
54 | }; | |
55 | ||
56 | // function declaration | |
57 | std::ostream& report( Severity severity , | |
58 | const char* facility = 0 ) ; | |
59 | ||
60 | // inline function definitions | |
61 | ||
62 | #endif /* TOOLBOX_FUNCTIONS_HH */ | |
63 |