MCPcopy
hub / github.com/KhronosGroup/Vulkan-Docs / logErr

Function logErr

scripts/reflib.py:93–103  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

91 file.write(end)
92
93def logErr(*args, **kwargs):
94 file = kwargs.pop('file', errFile)
95 end = kwargs.pop('end','\n')
96
97 strfile = io.StringIO()
98 strfile.write(logHeader('ERROR') + ' '.join(str(arg) for arg in args))
99 strfile.write(end)
100
101 if file is not None:
102 file.write(strfile.getvalue())
103 raise UserWarning(strfile.getvalue())
104
105def isempty(s):
106 """Return True if s is nothing but white space, False otherwise"""

Callers 5

genTargetFunction · 0.90
emitPageFunction · 0.90
genAntoraNavFunction · 0.90
reflow.pyFile · 0.90
findRefsFunction · 0.85

Calls 2

logHeaderFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected