Пример #1
0
 def __init__(self, log_level, filename="file_log.txt"):
     logger.__init__(self, log_level)
     try:
         self.file = open(filename, "w+")
     except Exception:
         print(Exception)
         exit()
Пример #2
0
 def __init__(self, log_level, filename='file_log.txt'):
     logger.__init__(self, log_level)
     self.file = open(filename, 'a')
Пример #3
0
 def __init__(self, log_level):
     logger.__init__(self, log_level)
     self.__filename__ = 'file_log.txt'
Пример #4
0
 def __init__(self, log_level):
     logger.__init__(self, log_level)
Пример #5
0
 def __init__(self, log_level, file_name="file_log.txt"):
     logger.__init__(self, log_level)
     self.__file_name__ = file_name
Пример #6
0
 def __init__(self, log_level):
     self.__log_level__ = log_level
     logger.__init__(self, log_level)