public class GenBuildLogger extends DefaultLogger implements LogMethod {\r
\r
Project project = null;\r
- ///\r
+ \r
+ ///\r
/// Time of the start of the build \r
- /// \r
+ ///\r
private long startTime = System.currentTimeMillis();\r
+ \r
///\r
/// flag to present whether cache all msg or not\r
/// true means to cache.\r
///\r
private static boolean flag = false;\r
- \r
- private static boolean enableFlag = true;\r
\r
private static Map<FpdModuleIdentification, List<String>> map = new LinkedHashMap<FpdModuleIdentification, List<String> >(256);\r
\r
if (this.project == null) {\r
return;\r
}\r
+\r
//\r
// If msgLevel is always print, then print it\r
//\r
case EdkLog.EDK_INFO:\r
log(msgSource, msg, Project.MSG_INFO);\r
break;\r
- case EdkLog.EDK_VERBOSE:\r
+ case EdkLog.EDK_VERBOSE:\r
log(msgSource, msg, Project.MSG_VERBOSE);\r
break;\r
case EdkLog.EDK_DEBUG:\r
}\r
\r
public void messageLogged(BuildEvent event) {\r
- int currentLevel = event.getPriority();\r
+ \r
+ int currentLevel = event.getPriority();\r
//\r
// If current level is upper than Ant Level, skip it\r
//\r
flag = enable;\r
}\r
\r
- public static void maskAllLog(boolean enable) {\r
- enableFlag = !enable;\r
- }\r
- \r
protected synchronized void log(String message) {\r
//\r
// cache log\r