MCPcopy Create free account
hub / github.com/crowsonkb/style_transfer / __init__

Method __init__

log_utils.py:34–64  ·  view source on GitHub ↗

r""" :arg bool color: Enables color support. :arg string fmt: Log message format. It will be applied to the attributes dict of log records. The text between ``%(color)s`` and ``%(end_color)s`` will be colored depending on the level if color support is on

(self, color=True, fmt=DEFAULT_FORMAT, datefmt=DEFAULT_DATE_FORMAT,
                 colors=DEFAULT_COLORS, precision=3)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

_stderr_supports_colorFunction · 0.85

Tested by

no test coverage detected