Home
last modified time | relevance | path

Searched refs:Logger (Results 1 – 25 of 66) sorted by relevance

123

/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/
DRmPkg.py32 from Logger import StringTable as ST
33 import Logger.Log as Logger namespace
34 from Logger.ToolError import OPTION_MISSING
35 from Logger.ToolError import UNKNOWN_ERROR
36 from Logger.ToolError import ABORT_ERROR
37 from Logger.ToolError import CODE_ERROR
38 from Logger.ToolError import FatalError
52 Logger.Info(ST.MSG_CONFIRM_REMOVE)
53 Logger.Info(ST.MSG_USER_DELETE_OP)
57 Logger.Error("RmPkg", UNKNOWN_ERROR, ST.ERR_USER_INTERRUPT)
[all …]
DReplacePkg.py24 from Logger import StringTable as ST
25 from Logger.ToolError import UNKNOWN_ERROR
26 from Logger.ToolError import FatalError
27 from Logger.ToolError import ABORT_ERROR
28 from Logger.ToolError import CODE_ERROR
29 from Logger.ToolError import UPT_ALREADY_INSTALLED_ERROR
30 import Logger.Log as Logger namespace
76 if Logger.GetLevel() <= Logger.DEBUG_9:
77 Logger.Quiet(ST.MSG_PYTHON_ON % (python_version(),
81 if Logger.GetLevel() <= Logger.DEBUG_9:
[all …]
DUPT.py31 from Logger import StringTable as ST
32 import Logger.Log as Logger namespace
33 from Logger.StringTable import MSG_VERSION
34 from Logger.StringTable import MSG_DESCRIPTION
35 from Logger.StringTable import MSG_USAGE
36 from Logger.ToolError import FILE_NOT_FOUND
37 from Logger.ToolError import OPTION_MISSING
38 from Logger.ToolError import FILE_TYPE_MISMATCH
39 from Logger.ToolError import OPTION_CONFLICT
40 from Logger.ToolError import FatalError
[all …]
DInventoryWs.py24 from Logger import StringTable as ST
25 from Logger.ToolError import FatalError
26 from Logger.ToolError import ABORT_ERROR
27 from Logger.ToolError import CODE_ERROR
28 import Logger.Log as Logger namespace
67 Logger.Info(OutMsg)
77 Logger.Info(OutMsg)
97 if Logger.GetLevel() <= Logger.DEBUG_9:
98 Logger.Quiet(ST.MSG_PYTHON_ON % (python_version(), platform) + format_exc())
101 if Logger.GetLevel() <= Logger.DEBUG_9:
[all …]
DTestInstall.py21 import Logger.Log as Logger namespace
22 from Logger import StringTable as ST
23 import Logger.ToolError as TE
48 Logger.Error("TestInstallPkg", TE.OPTION_MISSING, ExtraData=ST.ERR_SPECIFY_PACKAGE)
67 Logger.Quiet(ST.MSG_TEST_INSTALL_PASS)
69 Logger.Quiet(ST.MSG_TEST_INSTALL_FAIL)
73 if Logger.GetLevel() <= Logger.DEBUG_9:
74 Logger.Quiet(ST.MSG_PYTHON_ON % (python_version(), platform) + format_exc())
78 Logger.Error(
85 Logger.Quiet(ST.MSG_PYTHON_ON % (python_version(), platform) + format_exc())
[all …]
DMkPkg.py35 from Logger import StringTable as ST
36 from Logger.ToolError import OPTION_UNKNOWN_ERROR
37 from Logger.ToolError import OPTION_VALUE_INVALID
38 from Logger.ToolError import ABORT_ERROR
39 from Logger.ToolError import UPT_REPKG_ERROR
40 from Logger.ToolError import CODE_ERROR
41 from Logger.ToolError import FatalError
42 from Logger.ToolError import FILE_NOT_FOUND
43 import Logger.Log as Logger namespace
62 Logger.Info(ST.MSG_DISTRIBUTION_PACKAGE_FILE_EXISTS % Path)
[all …]
DInstallPkg.py35 from Logger import StringTable as ST
36 from Logger.ToolError import UNKNOWN_ERROR
37 from Logger.ToolError import FILE_UNKNOWN_ERROR
38 from Logger.ToolError import OPTION_MISSING
39 from Logger.ToolError import UPT_ALREADY_INSTALLED_ERROR
40 from Logger.ToolError import FatalError
41 from Logger.ToolError import ABORT_ERROR
42 from Logger.ToolError import CODE_ERROR
43 from Logger.ToolError import FORMAT_INVALID
44 from Logger.ToolError import FILE_TYPE_MISMATCH
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Core/
DPackageFile.py28 from Logger.ToolError import FILE_OPEN_FAILURE
29 from Logger.ToolError import FILE_CHECKSUM_FAILURE
30 from Logger.ToolError import FILE_NOT_FOUND
31 from Logger.ToolError import FILE_DECOMPRESS_FAILURE
32 from Logger.ToolError import FILE_UNKNOWN_ERROR
33 from Logger.ToolError import FILE_WRITE_FAILURE
34 from Logger.ToolError import FILE_COMPRESS_FAILURE
35 import Logger.Log as Logger namespace
36 from Logger import StringTable as ST
55 Logger.Error("PackagingTool", FILE_OPEN_FAILURE,
[all …]
DDependencyRules.py25 import Logger.Log as Logger namespace
26 from Logger import StringTable as ST
32 from Logger.ToolError import FatalError
33 from Logger.ToolError import EDK1_INF_ERROR
34 from Logger.ToolError import UNKNOWN_ERROR
61 Logger.Verbose(ST.MSG_CHECK_MODULE_EXIST)
64 Logger.Verbose(ST.MSG_CHECK_MODULE_EXIST_FINISH)
78 Logger.Verbose(ST.MSG_CHECK_MODULE_DEPEX_START)
109 Logger.Error("CheckModuleDepex", UNKNOWN_ERROR, \
124 Logger.Verbose(ST.MSG_CHECK_PACKAGE_START)
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/Parser/
DInfBinaryObject.py24 import Logger.Log as Logger namespace
25 from Logger import ToolError
26 from Logger import StringTable as ST
157 Logger.Error("InfParser",
165 Logger.Error("InfParser",
179 Logger.Error("InfParser",
194 Logger.Error("InfParser",
206 Logger.Error("InfParser",
224 Logger.Error("InfParser",
236 Logger.Error("InfParser",
[all …]
DInfSoucesObject.py21 from Logger import StringTable as ST
22 from Logger import ToolError
23 import Logger.Log as Logger namespace
49 Logger.Error("InfParser",
60 Logger.Error("InfParser",
71 Logger.Error("InfParser",
81 Logger.Error("InfParser",
96 Logger.Error("InfParser",
108 Logger.Error("InfParser",
122 Logger.Error("InfParser",
[all …]
DInfLibraryClassesObject.py19 from Logger import StringTable as ST
20 from Logger import ToolError
21 import Logger.Log as Logger namespace
147 Logger.Error("InfParser",
154 Logger.Error("InfParser",
161 Logger.Error("InfParser",
169 Logger.Error("InfParser",
180 Logger.Error("InfParser",
192 Logger.Error("InfParser",
DInfPackagesObject.py19 from Logger import StringTable as ST
20 from Logger import ToolError
21 import Logger.Log as Logger namespace
101 Logger.Error("InfParser",
115 Logger.Error("InfParser",
126 Logger.Error("InfParser",
139 Logger.Error("InfParser",
DInfUserExtensionObject.py19 from Logger import StringTable as ST
20 from Logger import ToolError
21 import Logger.Log as Logger namespace
118 Logger.Error('InfParser',
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
DInfBuildOptionSectionParser.py23 import Logger.Log as Logger namespace
24 from Logger import StringTable as ST
25 from Logger.ToolError import FORMAT_INVALID
85 Logger.Error('InfParser',
112 Logger.Error('InfParser',
119 Logger.Error('InfParser',
127 Logger.Error('InfParser',
153 Logger.Error('InfParser',
203 Logger.Error('InfParser',
DInfParser.py36 import Logger.Log as Logger namespace
37 from Logger import StringTable as ST
38 from Logger.ToolError import FORMAT_INVALID
39 from Logger.ToolError import FILE_READ_FAILURE
40 from Logger.ToolError import PARSER_ERROR
58 Logger.Error("InfParser",
65 Logger.Error("InfParser",
265 Logger.Error('Parser',
321 Logger.Error("InfParser",
395 Logger.Error("InfParser",
[all …]
DInfPcdSectionParser.py21 import Logger.Log as Logger namespace
22 from Logger import StringTable as ST
23 from Logger.ToolError import FORMAT_INVALID
59Logger.Error('InfParser', FORMAT_INVALID, ST.ERR_ASBUILD_PCD_SECTION_TYPE%("\"" + Item[0] + "\""),
155 Logger.Error('InfParser',
164 Logger.Error('InfParser',
179 Logger.Error('InfParser',
DInfGuidPpiProtocolSectionParser.py21 import Logger.Log as Logger namespace
22 from Logger import StringTable as ST
23 from Logger.ToolError import FORMAT_INVALID
116 Logger.Error('InfParser',
201 Logger.Error('InfParser',
238 Logger.Error(
251 Logger.Error('InfParser',
259 Logger.Error('InfParser',
277 Logger.Error('InfParser',
289 Logger.Error\
[all …]
DInfDepexSectionParser.py21 import Logger.Log as Logger namespace
22 from Logger import StringTable as ST
23 from Logger.ToolError import FORMAT_INVALID
100 Logger.Error('InfParser',
DInfLibrarySectionParser.py21 import Logger.Log as Logger namespace
22 from Logger import StringTable as ST
23 from Logger.ToolError import FORMAT_INVALID
144 Logger.Error('InfParser',
167 Logger.Error('InfParser',
199 Logger.Error('InfParser',
DInfSectionParser.py30 import Logger.Log as Logger namespace
31 from Logger import StringTable as ST
32 from Logger.ToolError import FORMAT_INVALID
81 Logger.Error('Parser',
96Logger.Error('Parser', FORMAT_INVALID, ST.ERR_INF_PARSER_SOURCE_SECTION_SECTIONNAME_INVALID \
105Logger.Error('Parser', FORMAT_INVALID, ST.ERR_INF_PARSER_SOURCE_SECTION_SECTIONNAME_INVALID \
165 Logger.Error('Parser',
261 Logger.Error('Parser',
306 Logger.Error('Parser',
319 Logger.Error('Parser',
[all …]
DInfPackageSectionParser.py21 import Logger.Log as Logger namespace
22 from Logger import StringTable as ST
23 from Logger.ToolError import FORMAT_INVALID
135 Logger.Error('InfParser',
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Xml/
DXmlParserMisc.py19 from Logger.StringTable import ERR_XML_PARSER_REQUIRED_ITEM_MISSING
20 from Logger.ToolError import PARSER_ERROR
21 import Logger.Log as Logger namespace
75 Logger.Error('\nUPT', PARSER_ERROR, ErrorMsg, RaiseError=True)
/device/google/contexthub/util/nanotool/
Dlog.h41 class Logger {
43 virtual ~Logger() {}; in ~Logger()
61 static void Initialize(Logger *logger, LogLevel level);
85 static Logger* logger_;
90 class PrintfLogger : public Logger {
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DCommentParsing.py48 import Logger.Log as Logger namespace
49 from Logger.ToolError import FORMAT_INVALID
50 from Logger.ToolError import FORMAT_NOT_SUPPORTED
51 from Logger import StringTable as ST
88 Logger.Error("\nUPT", FORMAT_INVALID, ST.ERR_INVALID_COMMENT_FORMAT, FileName, Item[1])
211 Logger.Error('Parser',
223 Logger.Error('Parser',
258 Logger.Error('Parser',
281 Logger.Error("Parser",
288 Logger.Error('Parser',
[all …]

123