Fixed error in logger,py

parent b789d842
......@@ -4,6 +4,7 @@ import logging
class Logger:
def __init__(self, file_=None):
if file_:
self.file_ = file_
logging.basicConfig(filename=file_)
def log(self, message, level="critical"):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment