관리-도구
편집 파일: _log.cpython-39.pyc
a ��Re� � @ sT d Z ddlZddlmZmZ dZG dd� dej�Zeed�dd �Z dd �dd�Z dS ) z�Customize logging Defines custom logger class for the `logger.verbose(...)` method. init_logging() must be called before any other modules that call logging.getLogger. � N)�Any�cast� c @ s$ e Zd ZdZeeedd�dd�ZdS )� VerboseLoggerzXCustom Logger, defining a verbose log-level VERBOSE is between INFO and DEBUG. N)�msg�args�kwargs�returnc O s | j t|g|�R i |��S )N)�log�VERBOSE)�selfr r r � r ��/builddir/build/BUILDROOT/alt-python39-pip-21.3.1-2.el8.x86_64/opt/alt/python39/lib/python3.9/site-packages/pip/_internal/utils/_log.py�verbose s zVerboseLogger.verbose)�__name__� __module__�__qualname__�__doc__�strr r r r r r r s r )�namer c C s t tt�| ��S )zBlogging.getLogger, but ensures our VerboseLogger class is returned)r r �logging� getLogger)r r r r r s r )r c C s t �t� t �td� dS )z�Register our VerboseLogger and VERBOSE log level. Should be called before any calls to getLogger(), i.e. in pip._internal.__init__ r N)r �setLoggerClassr �addLevelNamer r r r r �init_logging s r )r r �typingr r r �Loggerr r r r r r r r �<module> s