Let us walk on the 3-isogeny graph
|
Public Member Functions | |
None | __init__ (self, Optional[TextIO] stream, bool no_color) |
None | emit (self, logging.LogRecord record) |
None | handleError (self, logging.LogRecord record) |
![]() | |
Text | get_level_text (self, LogRecord record) |
"ConsoleRenderable" | render_message (self, LogRecord record, str message) |
"ConsoleRenderable" | render (self, *LogRecord record, Optional[Traceback] traceback, "ConsoleRenderable" message_renderable) |
Static Public Attributes | |
list | KEYWORDS = [] |
![]() | |
list | KEYWORDS |
ClassVar | HIGHLIGHTER_CLASS = ReprHighlighter |
Additional Inherited Members | |
![]() | |
console | |
highlighter | |
enable_link_path | |
markup | |
rich_tracebacks | |
tracebacks_width | |
tracebacks_extra_lines | |
tracebacks_theme | |
tracebacks_word_wrap | |
tracebacks_show_locals | |
tracebacks_suppress | |
locals_max_length | |
locals_max_string | |
keywords | |
![]() | |
_log_render | |
Definition at line 140 of file logging.py.
None __init__ | ( | self, | |
Optional[TextIO] | stream, | ||
bool | no_color | ||
) |
Reimplemented from RichHandler.
Definition at line 143 of file logging.py.
References RichPipStreamHandler.__init__(), and i.
Referenced by RichPipStreamHandler.__init__(), and Protocol.__init_subclass__().
None emit | ( | self, | |
logging.LogRecord | record | ||
) |
Invoked by logging.
Reimplemented from RichHandler.
Definition at line 153 of file logging.py.
References ThemeContext.console, ScreenContext.console, Live.console, RichHandler.console, Progress.console(), PromptBase.console, Status.console(), IndentingFormatter.format(), Formatter.format(), ImageFormatter.format(), NullFormatter.format(), RawTokenFormatter.format(), TestcaseFormatter.format(), TerminalFormatter.format(), Terminal256Formatter.format(), pip._internal.utils.logging.get_indentation(), RichPipStreamHandler.handleError(), i, and RichHandler.render_message().
None handleError | ( | self, | |
logging.LogRecord | record | ||
) |
Called when logging is unable to log some output.
Definition at line 181 of file logging.py.
References pip._internal.utils.logging._is_broken_pipe_error(), ThemeContext.console, ScreenContext.console, Live.console, RichHandler.console, Progress.console(), PromptBase.console, Status.console(), RichPipStreamHandler.handleError(), and i.
Referenced by RichPipStreamHandler.emit(), RichHandler.emit(), and RichPipStreamHandler.handleError().
|
static |
Definition at line 141 of file logging.py.
Referenced by RichHandler.render_message().