◆ __init__()
def __init__ |
( |
|
self, |
|
|
* |
args, |
|
|
|
add_timestamp = False , |
|
|
** |
kwargs |
|
) |
| |
A logging.Formatter that obeys the indent_log() context manager.
:param add_timestamp: A bool indicating output lines should be prefixed
with their record's timestamp.
◆ format()
def format |
( |
|
self, |
|
|
|
record |
|
) |
| |
Calls the standard formatter, but will indent all of the log message
lines by our current indentation level.
◆ get_message_start()
def get_message_start |
( |
|
self, |
|
|
|
formatted, |
|
|
|
levelno |
|
) |
| |
Return the start of the formatted log message (not counting the
prefix to add to each line).
◆ add_timestamp
◆ default_time_format
The documentation for this class was generated from the following file:
- /home/passerat/Stage/flaskProject/venv/lib/python3.8/site-packages/pip/_internal/utils/logging.py