U
    VQh                     @  s>   d dl mZ d dlZd dlZdddddZdd	d
dZdS )    )annotationsNzlogging.LogRecordbool)recordreturnc                 C  s   | j tjk S )N)levelnologgingWARNING)r    r	   :/tmp/pip-build-6059463i/wheel/wheel/_setuptools_logging.py_not_warning   s    r   None)r   c                  C  sJ   t  } | t j t tj}|t | |f}t jdd|t j	d dS )z
    Configure logging to emit warning and above to stderr
    and everything else to stdout. This behavior is provided
    for compatibility with distutils.log but may change in
    the future.
    z	{message}{)formatstylehandlerslevelN)
r   StreamHandlersetLevelr   sysstdout	addFilterr   basicConfigDEBUG)Zerr_handlerZout_handlerr   r	   r	   r
   	configure   s    
   r   )
__future__r   r   r   r   r   r	   r	   r	   r
   <module>   s   