<s> """<STR_LIT>""" <EOL> from __future__ import print_function , absolute_import , unicode_literals <EOL> import logging <EOL> __version__ = "<STR_LIT>" <EOL> def set_logging ( name = "<STR_LIT>" , level = logging . DEBUG ) : <EOL> logger = logging . getLogger ( name ) <EOL> logger . handlers = [ ] <EOL> logger . setLevel ( level ) <EOL> ch = logging . StreamHandler ( ) <EOL> ch . setLevel ( logging . DEBUG ) <EOL> formatter = logging . Formatter ( '<STR_LIT>' ) <EOL> ch . setFormatter ( formatter ) <EOL> logger . addHandler ( ch ) <EOL> set_logging ( level = logging . WARNING ) </s>
