예제 #1
0
 def error(self, message):
     printc(message, Text.PURPLE)
     self.__save(message)
예제 #2
0
 def critical(self, message):
     printc(message, Text.RED)
     self.__save(message)
예제 #3
0
 def debug(self, message):
     printc(message, Text.GREY)
     self.__save(message)
예제 #4
0
 def ok(self, message):
     printc(message, Text.GREEN)
     self.__save(message)
예제 #5
0
 def warn(self, message):
     printc(message, Text.YELLOW)
     self.__save(message)
예제 #6
0
 def info(self, message):
     printc(message, Text.BLUE)
     self.__save(message)
예제 #7
0
 def out(self, message):
     printc(message)
     self.__save(message)
예제 #8
0
 def call():
     printc("Closing logger", Text.TURQOISE)
     self.log.close()