]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/Common/org/tianocore/common/logger/DefaultLogger.java
Restructuring for better separation of Tool packages.
[mirror_edk2.git] / Tools / Source / Common / org / tianocore / common / logger / DefaultLogger.java
diff --git a/Tools/Source/Common/org/tianocore/common/logger/DefaultLogger.java b/Tools/Source/Common/org/tianocore/common/logger/DefaultLogger.java
deleted file mode 100644 (file)
index b1d9d6d..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*++\r
-\r
-Copyright (c) 2006, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution.  The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
-Module Name:\r
-  DefaultLogger.java\r
-\r
-Abstract:\r
-\r
---*/\r
-\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
-class DefaultLogger implements LogMethod {\r
-    private Logger logger = Logger.global;\r
-    private static Level[] levelMap = {\r
-        Level.SEVERE, Level.WARNING, Level.INFO, Level.FINE, Level.ALL\r
-    };\r
-\r
-    public DefaultLogger() {\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