MCPcopy Create free account
hub / github.com/ForgeRock/forgeops / format

Method format

lib/python/utils.py:118–122  ·  view source on GitHub ↗
(self, record)

Source from the content-addressed store, hash-verified

116 }
117
118 def format(self, record):
119 log_fmt = self.TTY_FORMATS.get(record.levelno)
120 formatter = logging.Formatter(log_fmt)
121 formatter.datefmt = '%Y-%m-%dT%H:%M:%S%z'
122 return formatter.format(record)
123
124def logger(name=log_name, level=logging.INFO):
125 log = logging.getLogger(name)

Callers 3

formatMethod · 0.45
printsecretsFunction · 0.45
printurlsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected