a
    ©lc  ã                   @   s   d Z ddlZdadd„ ZdS )z Grab the global logger instance.é    Nc                  C   sD   t du r@ddlm}  |  ¡ r(|  ¡ ja nt d¡a t  t 	¡ ¡ t S )z‰Grab the global logger instance.

    If a global Application is instantiated, grab its logger.
    Otherwise, grab the root logger.
    Né   ©ÚApplicationZ	traitlets)
Ú_loggerÚconfigr   ZinitializedÚinstanceÚlogÚloggingÚ	getLoggerÚ
addHandlerÚNullHandlerr   © r   úI/var/www/html/django/DPS/env/lib/python3.9/site-packages/traitlets/log.pyÚ
get_logger   s    
r   )Ú__doc__r	   r   r   r   r   r   r   Ú<module>   s   