## @file\r
# This file implements the log mechanism for Python tools.\r
#\r
-# Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
#\r
-# This program and the accompanying materials are licensed and made available \r
-# under the terms and conditions of the BSD License which accompanies this \r
-# distribution. The full text of the license may be found at \r
+# This program and the accompanying materials are licensed and made available\r
+# under the terms and conditions of the BSD License which accompanies this\r
+# 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
\r
## Log ERROR message\r
#\r
-# Once an error messages is logged, the tool's execution will be broken by \r
-# raising an execption. If you don't want to break the execution later, you \r
+# Once an error messages is logged, the tool's execution will be broken by\r
+# raising an execption. If you don't want to break the execution later, you\r
# can give "RaiseError" with "False" value.\r
#\r
# @param ToolName The name of the tool. If not given, the name of caller\r
if RaiseError:\r
raise FatalError(ErrorCode)\r
\r
- \r
+\r
## Initialize log system\r
#\r
def Initialize():\r
#\r
- # Since we use different format to log different levels of message into \r
- # different place (stdout or stderr), we have to use different "Logger" \r
+ # Since we use different format to log different levels of message into\r
+ # different place (stdout or stderr), we have to use different "Logger"\r
# objects to do this.\r
#\r
# For DEBUG level (All DEBUG_0~9 are applicable)\r