The Gaudi Framework  master (37c0b60a)
Constants.py
Go to the documentation of this file.
1 
13 """Useful/conventional constants."""
14 
15 __all__ = [
16  "ALL",
17  "VERBOSE",
18  "DEBUG",
19  "INFO",
20  "WARNING",
21  "ERROR",
22  "FATAL",
23  "TRUE",
24  "FALSE",
25 ]
26 
27 # message levels -----------------------------------------------------------
28 ALL = 0
29 VERBOSE = 1
30 DEBUG = 2
31 INFO = 3
32 WARNING = 4
33 ERROR = 5
34 FATAL = 6
35 
36 # for job options legacy (TODO: get rid of these!) -------------------------
37 TRUE = True
38 FALSE = False
39 
40 # message to notify folks that they really have to fix their codes:
41 error_explanation = """
42  ==> After this line, a hack will be executed, attempting to rectify the
43  ==> problem just reported. Since this hack may fail, and since it is a
44  ==> rather temporary measure hack, this is an ERROR, not a WARNING."""