

def __init__(self):
    '\n        Set file and console output logger\n        '
    logging.basicConfig(level=console.logger_level, format=self.logger_format_file, datefmt='%m-%d %H:%M:%S', filename=self.logger_path, filemode='a+')
    console = logging.StreamHandler()
    console.setLevel(self.logger_level)
    formatter = logging.Formatter(fmt=self.logger_format_console, datefmt='%m-%d %H:%M:%S')
    console.setFormatter(formatter)
    logging.getLogger(self.logger_name).addHandler(console)
    self.logger = logging.getLogger(self.logger_name)

dataset/ETHPy150Open SergioChan/SCTornadoTCP/Server/Logger/Logger.py BaseLogger.__init__/VarMisuse@18/38 `self`->`console`