MCPcopy
hub / github.com/beetbox/beets / format

Method format

beets/logging.py:130–135  ·  view source on GitHub ↗
(self, record)

Source from the content-addressed store, hash-verified

128 """
129
130 def format(self, record):
131 parts = record.name.split(".")
132 record.legacy_prefix = (
133 f"{'.'.join(parts[1:])}: " if len(parts) > 1 else ""
134 )
135 return super().format(record)
136
137
138class StrFormatLogger(Logger):

Callers 2

test_formatMethod · 0.95
__str__Method · 0.45

Calls 1

joinMethod · 0.80

Tested by 1

test_formatMethod · 0.76