Delete PTL2/Scripts/logger.py

This commit is contained in:
Auden Cote-L'Heureux 2024-02-07 11:25:06 -05:00 committed by GitHub
parent fff0032c0d
commit 604a4af182
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,28 +0,0 @@
class Logger():
OKBLUE = '\033[94m'
OKCYAN = '\033[96m'
OKGREEN = '\033[92m'
YELLOW = '\033[93m'
RED = '\033[91m'
ENDC = '\033[0m'
BOLD = '\033[1m'
UNDERLINE = '\033[4m'
@staticmethod
def Error(text, style = ''):
print(Logger.RED + Logger.BOLD + "ERROR: " + Logger.ENDC + Logger.RED + style + text + Logger.ENDC + '\n')
quit()
@staticmethod
def Warning(text, style = ''):
print(Logger.YELLOW + Logger.BOLD + "WARNING: " + Logger.ENDC + Logger.YELLOW + style + text + Logger.ENDC + '\n')
@staticmethod
def Message(text, style = ''):
print(Logger.OKGREEN + style + text + Logger.ENDC + '\n')