<s> import logging <EOL> try : <EOL> from logging import NullHandler <EOL> except ImportError : <EOL> class NullHandler ( logging . Handler ) : <EOL> def emit ( self , record ) : <EOL> pass <EOL> logging . getLogger ( "<STR_LIT>" ) . addHandler ( NullHandler ( ) ) </s>
