<s> """<STR_LIT>""" <EOL> import logging <EOL> base_logger = logging . getLogger ( '<STR_LIT>' ) <EOL> base_logger . addHandler ( logging . NullHandler ( ) ) <EOL> def get_logger ( name ) : <EOL> """<STR_LIT>""" <EOL> if not name : <EOL> return base_logger <EOL> logger = logging . getLogger ( name ) <EOL> return logger </s>
