MCPcopy Index your code
hub / github.com/PaddlePaddle/FastDeploy / format

Method format

fastdeploy/utils.py:236–243  ·  view source on GitHub ↗
(self, record)

Source from the content-addressed store, hash-verified

234 }
235
236 def format(self, record):
237 color_code = self.COLOR_CODES.get(record.levelno, 0)
238 prefix = f"\033[{color_code}m"
239 suffix = "\033[0m"
240 message = super().format(record)
241 if color_code:
242 message = f"{prefix}{message}{suffix}"
243 return message
244
245
246class DailyRotatingFileHandler(BaseRotatingHandler):

Callers 15

build_extensionMethod · 0.45
printMethod · 0.45
printMethod · 0.45
printMethod · 0.45
printMethod · 0.45
printMethod · 0.45
printMethod · 0.45
printMethod · 0.45
get_cudnn_versionFunction · 0.45
get_nvidia_smiFunction · 0.45
get_windows_versionFunction · 0.45

Calls 1

getMethod · 0.45