\r
package org.tianocore.common.logger;\r
\r
+import java.io.File;\r
import java.util.logging.Level;\r
import java.util.logging.Logger;\r
\r
};\r
\r
public DefaultLogger() {\r
-\r
}\r
\r
public void putMessage(Object msgSource, int msgLevel, String msg) {\r
+ if (msgLevel < 0 || msgLevel > levelMap.length) {\r
+ msgLevel = 2;\r
+ }\r
logger.log(levelMap[msgLevel], msg);\r
}\r
+ \r
+ public void flushToFile(File file){\r
+ \r
+ }\r
}
\ No newline at end of file