ishaq101's picture
clean init
478dec6
raw
history blame contribute delete
209 Bytes
import logging
def get_logger(tag_name:str, level:int = logging.INFO):
FORMAT = '%(message)s'
logging.basicConfig(format=FORMAT, level=level)
logger = logging.getLogger(tag_name)
return logger