o
    “si}  ã                   @   s@   d dl Z d dlZd dlZddlmZ dd„ Zdd„ Zdd	„ ZdS )
é    Né   )Úmonkeyc                 C   s   | j tjk S )N)ÚlevelnoÚloggingÚWARNING)Úrecord© r   úaC:\Users\PC\students\dividedattentionclub\venv\lib\python3.10\site-packages\setuptools/logging.pyÚ_not_warning   s   r
   c                  C   sd   t  ¡ } |  t j¡ t  tj¡}| t¡ | |f}t jdd|t j	d� t
 ttjd¡ tjtj_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ÚlevelÚset_thresholdN)r   ÚStreamHandlerÚsetLevelr   ÚsysÚstdoutÚ	addFilterr
   ÚbasicConfigÚDEBUGr   Z
patch_funcr   Ú	distutilsÚlogÚdist)Zerr_handlerZout_handlerr   r   r   r	   Ú	configure   s   

ÿr   c                 C   s   t j | d ¡ t | ¡S )Né
   )r   Úrootr   r   Ú	unpatched)r   r   r   r	   r   "   s   
r   )	r   r   Zdistutils.logr   Ú r   r
   r   r   r   r   r   r	   Ú<module>   s    