관리-도구
편집 파일: report.cpython-37.pyc
B ���a� � @ sx d dl mZmZ d dlZd dlZd dlmZ ejejej ej ejejd�Z ee �� �Ze�� Zddd�Zdd � Zd ZdS )� )�absolute_import�unicode_literalsN)� ensure_str)r � � � � � Fc C s� t t� | tkrt} t| }d}|tjkr:d}d�||�}|rFd| }t�t|��}tj t jd�}|�|� t�tj � |�|� t�|� t�|�}t�d|� t�d��tj� | S )Nz%(message)s�modulez8%(relativeCreated)d {} [%(levelname)s %({})s:%(lineno)d]z[%(process)d] )�streamzsetup logging to %sZdistlib)�_clean_handlers�LOGGER� MAX_LEVEL�LEVELS�logging�DEBUG�format� Formatterr � StreamHandler�sys�stdout�setLevel�NOTSET�setFormatter� addHandler�getLevelName�debug� getLogger�ERROR)� verbosityZshow_pid�levelZ msg_format�locate� formatterZstream_handlerZ level_name� r# �B/opt/alt/python37/lib/python3.7/site-packages/virtualenv/report.py�setup_report s( r% c C s"