MCPcopy Create free account
hub / github.com/ipython/traitlets / format

Method format

traitlets/config/application.py:144–149  ·  view source on GitHub ↗
(self, record: logging.LogRecord)

Source from the content-addressed store, hash-verified

142 highlevel_format = " %(levelname)s |"
143
144 def format(self, record: logging.LogRecord) -> str:
145 if record.levelno >= self.highlevel_limit:
146 record.highlevel = self.highlevel_format % record.__dict__
147 else:
148 record.highlevel = ""
149 return super().format(record)
150
151
152class Application(SingletonConfigurable):

Callers 7

errorMethod · 0.80
__init__Method · 0.80
validateMethod · 0.80
from_string_listMethod · 0.80
_load_configMethod · 0.80
emit_subcommands_helpMethod · 0.80
_load_config_filesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected