+++ /dev/null
-/*++\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
- FrameworkLogger.java\r
-\r
-Abstract:\r
-\r
---*/\r
-\r
-package org.tianocore.framework.tasks;\r
-\r
-import org.apache.tools.ant.Project;\r
-import java.io.File;\r
-import org.tianocore.common.logger.LogMethod;\r
-\r
-class FrameworkLogger implements LogMethod {\r
- private Project project;\r
- private String titleName;\r
- public FrameworkLogger(Project project, String taskName) {\r
- this.project = project;\r
- this.titleName = taskName;\r
- }\r
-\r
- public void putMessage(Object msgSource, int msgLevel, String msg) {\r
- String frameworkMsg = " [" + this.titleName + "] " + msg;\r
- this.project.log(frameworkMsg, Project.MSG_INFO);\r
- }\r
- \r
- public void flushToFile(File file) {\r
- }\r
-}
\ No newline at end of file