Mini Shell
3
C��e� � @ s` d dl Z d dlmZ dd� Zdd� Zdd� Zd d
� Zdd� Zd
d� Zdd� Z dd� Z
dd� ZdS )� N)� constantsc C s$ | j d�r| dd� } tjd| �S )z�Return anaconda sub-logger based on a module __name__ attribute.
Currently we just strip the "pyanaconda." prefix (if any) and then
put the string behind "anaconda.". After thet we use the result
to get the correspondong sub-logger.
zpyanaconda.� Nzanaconda.%s)�
startswith�logging� getLogger)Zmodule_name� r �(/usr/lib64/python3.6/anaconda_loggers.py�get_module_logger"