<s> import logging <EOL> from netkit . box import Box <EOL> from haven import logger <EOL> LOG_FORMAT = '<STR_LIT:\n>' . join ( ( <EOL> '<STR_LIT:/>' + '<STR_LIT:->' * <NUM_LIT> , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT:->' * <NUM_LIT> + '<STR_LIT:/>' , <EOL> ) ) <EOL> handler = logging . StreamHandler ( ) <EOL> handler . setFormatter ( logging . Formatter ( LOG_FORMAT ) ) <EOL> logger . addHandler ( handler ) <EOL> logger . setLevel ( logging . DEBUG ) </s>
