The Gaudi Framework  master (82fdf313)
Loading...
Searching...
No Matches
Constants.py
Go to the documentation of this file.
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 -----------------------------------------------------------
28ALL = 0
29VERBOSE = 1
30DEBUG = 2
31INFO = 3
32WARNING = 4
33ERROR = 5
34FATAL = 6
35
36# for job options legacy (TODO: get rid of these!) -------------------------
37TRUE = True
38FALSE = False
39
40# message to notify folks that they really have to fix their codes:
41error_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."""