MCPcopy Create free account
hub / github.com/carbonengine/trinity / OutputFormatter

Class OutputFormatter

shadercompiler/pythonBuildScript/build.py:333–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331
332
333class OutputFormatter(logging.Formatter):
334 def format(self, record):
335 string = super().format(record)
336 if hasattr(record, 'output'):
337 string += f'\n{record.output}'
338 return string
339
340
341class TeamCityFormatter(logging.Formatter):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected