Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
pip._internal.utils.logging.IndentingFormatter Class Reference
Inheritance diagram for pip._internal.utils.logging.IndentingFormatter:
Inheritance graph
[legend]
Collaboration diagram for pip._internal.utils.logging.IndentingFormatter:
Collaboration graph
[legend]

Public Member Functions

None __init__ (self, *Any args, bool add_timestamp=False, **Any kwargs)
 
str get_message_start (self, str formatted, int levelno)
 
str format (self, logging.LogRecord record)
 

Public Attributes

 add_timestamp
 

Static Public Attributes

str default_time_format = "%Y-%m-%dT%H:%M:%S"
 

Constructor & Destructor Documentation

◆ __init__()

None pip._internal.utils.logging.IndentingFormatter.__init__ (   self,
*Any  args,
bool   add_timestamp = False,
**Any  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.

Member Function Documentation

◆ format()

str pip._internal.utils.logging.IndentingFormatter.format (   self,
logging.LogRecord  record 
)
Calls the standard formatter, but will indent all of the log message
lines by our current indentation level.

◆ get_message_start()

str pip._internal.utils.logging.IndentingFormatter.get_message_start (   self,
str  formatted,
int  levelno 
)
Return the start of the formatted log message (not counting the
prefix to add to each line).

The documentation for this class was generated from the following file: