module documentation
Plain text reporters:. :text: the default one grouping messages by module :colorized: an ANSI colorized text reporter
Class |
|
Simple TextReporter that colorizes text output. |
Class |
|
Styling of a message. |
Class |
|
Reports messages and layouts in plain text without a module header. |
Class |
|
A reporter very similar to TextReporter, but display messages in a form recognized by most text editors : |
Class |
|
Reports messages and layouts in plain text. |
Class |
|
Visual studio text reporter. |
Function | colorize |
colorize message by wrapping it with ANSI escape codes |
Function | make |
Undocumented |
Function | register |
Undocumented |
Constant | ANSI |
Undocumented |
Constant | ANSI |
Undocumented |
Constant | ANSI |
Undocumented |
Constant | ANSI |
Undocumented |
Constant | ANSI |
Undocumented |
Constant | MESSAGE |
All fields of the Message class. |
Constant | TITLE |
Undocumented |
Type Alias |
|
Undocumented |
Function | _get |
Return ANSI escape code corresponding to color and style. |
@overload
@overload
@overload
def colorize_ansi(msg:
(source)
¶
str
, msg_style: str|None
= ..., style: str
= ..., *, color: str|None
= ...) -> str
:colorize message by wrapping it with ANSI escape codes :param msg: the message string to colorize :param msg_style: the message style or color (for backwards compatibility): the color of the message style :param style: the message's style elements, this will be deprecated :param \**kwargs: used to accept `color` parameter while it is being deprecated :return: the ANSI escaped string
Undocumented
Value |
|
Undocumented
Value |
|