관리-도구
편집 파일: _log.cpython-312.pyc
� G��e� � �f � d Z ddlZddlmZmZ dZ G d� dej � Zdedefd �Z dd �Z y)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 �( � e Zd ZdZdedededdfd�Zy)� VerboseLoggerzXCustom Logger, defining a verbose log-level VERBOSE is between INFO and DEBUG. �msg�args�kwargs�returnNc �8 � | j t |g|��i |��S )N)�log�VERBOSE)�selfr r r s ��/builddir/build/BUILDROOT/alt-python312-pip-23.3.1-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pip/_internal/utils/_log.py�verbosezVerboseLogger.verbose s � ��t�x�x���6�t�6�v�6�6� )�__name__� __module__�__qualname__�__doc__�strr r � r r r r s( � �� 7�3� 7�s� 7�c� 7�d� 7r r �namer c �H � t t t j | � � S )zBlogging.getLogger, but ensures our VerboseLogger class is returned)r r �logging� getLogger)r s r r r s � �� �w�0�0��6�7�7r c �j � t j t � t j t d� y)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 �init_loggingr s"