Debug message level
In metacat, we use a flag to control display debug message or not. The flag
just have two values: true or false.
It will be good if we use debug level to control bebug message. For example,
the level is less 10 is very important and the level is greater than 50 is
trivial. This control will have more flexibility.
#1 Updated by Jing Tao over 20 years ago
A static method debugMessage(String msg, int level) was add to MetaCatUtil
class. User can assign different debug level for this message. If the debug
level is less than the setting level in build.xml. The message will be shown.
Otherwise, it will be hidden.
The rule for debug level:
1) Most important track information: 1-10;
2) More important track information: 11- 20
3) Exception message:30
4) Other track information: 40