MCPcopy Index your code
hub / github.com/python/cpython / setFormatter

Method setFormatter

Lib/logging/__init__.py:1033–1037  ·  view source on GitHub ↗

Set the formatter for this handler.

(self, fmt)

Source from the content-addressed store, hash-verified

1031 return rv
1032
1033 def setFormatter(self, fmt):
1034 """
1035 Set the formatter for this handler.
1036 """
1037 self.formatter = fmt
1038
1039 def flush(self):
1040 """

Callers 15

_install_handlersFunction · 0.80
configure_handlerMethod · 0.80
basicConfigFunction · 0.80
__enter__Method · 0.80
test_filenameMethod · 0.80
setUpMethod · 0.80
test_raceMethod · 0.80
test_formattingMethod · 0.80
test_handlersMethod · 0.80
test_rolloverMethod · 0.80

Calls

no outgoing calls

Tested by 9

test_filenameMethod · 0.64
setUpMethod · 0.64
test_raceMethod · 0.64
test_formattingMethod · 0.64
test_handlersMethod · 0.64
test_rolloverMethod · 0.64