o
    B©Zh»  ã                   @  s@   U d Z ddlmZ ddlZddlmZ daded< dd	d
„ZdS )z Grab the global logger instance.é    )ÚannotationsN)ÚAnyz2logging.Logger | logging.LoggerAdapter[Any] | NoneÚ_loggerÚreturnú+logging.Logger | logging.LoggerAdapter[Any]c                  C  sF   t du r!ddlm}  |  ¡ r|  ¡ ja t S 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)
r   Úconfigr	   ZinitializedÚinstanceÚlogÚloggingÚ	getLoggerÚ
addHandlerÚNullHandlerr   © r   úD/var/www/html/lang_env/lib/python3.10/site-packages/traitlets/log.pyÚ
get_logger   s   

ür   )r   r   )	Ú__doc__Ú
__future__r   r   Útypingr   r   Ú__annotations__r   r   r   r   r   Ú<module>   s    