CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

ZMexSeverity.cc
Go to the documentation of this file.
1// ----------------------------------------------------------------------
2//
3// ZMexSeverity.cc - define severity codes & ancillary information
4//
5// Revision History:
6// 971006 WEB Split out from ZMexSeverity.h
7// 971113 WEB Updated to conform to standard coding techniques
8// 980615 WEB Added namespace support
9//
10// ----------------------------------------------------------------------
11
12
14
15
16namespace zmex {
17
18
19const std::string ZMexSeverityName[ ZMexSEVERITYenumLAST ] = {
20 "NORMAL", // ZMexNORMAL
21 "INFORMATIONAL", // ZMexINFO
22 "WARNING", // ZMexWARNING
23 "ERROR", // ZMexERROR
24 "SEVERE", // ZMexSEVERE
25 "FATAL", // ZMexFATAL
26 "UNANTICIPATED PROBLEM", // ZMexPROBLEM
27};
28
29
31 ' ', // ZMexNORMAL
32 'I', // ZMexINFO
33 'W', // ZMexWARNING
34 'E', // ZMexERROR
35 'S', // ZMexSEVERE
36 'F', // ZMexFATAL
37 '?', // ZMexPROBLEM
38};
39
40
42 // Provide starting values to limit logging by severity
43 -1, // ZMexNORMAL
44 -1, // ZMexINFO
45 -1, // ZMexWARNING
46 -1, // ZMexERROR
47 -1, // ZMexSEVERE
48 -1, // ZMexFATAL
49 -1, // ZMexPROBLEM
50};
51
52
53} // namespace zmex
int ZMexSeverityLimit[ZMexSEVERITYenumLAST]
const char ZMexSeverityLetter[ZMexSEVERITYenumLAST]
const std::string ZMexSeverityName[ZMexSEVERITYenumLAST]