MCPcopy Create free account
hub / github.com/FoundationVision/ByteTrack / __init__

Method __init__

yolox/utils/logger.py:33–42  ·  view source on GitHub ↗

Args: level(str): log level string of loguru. Default value: "INFO". caller_names(tuple): caller names of redirected module. Default value: (apex, pycocotools).

(self, level="INFO", caller_names=("apex", "pycocotools"))

Source from the content-addressed store, hash-verified

31 """
32
33 def __init__(self, level="INFO", caller_names=("apex", "pycocotools")):
34 """
35 Args:
36 level(str): log level string of loguru. Default value: "INFO".
37 caller_names(tuple): caller names of redirected module.
38 Default value: (apex, pycocotools).
39 """
40 self.level = level
41 self.linebuf = ""
42 self.caller_names = caller_names
43
44 def write(self, buf):
45 full_name = get_caller_name(depth=1)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected