loggorilla/loggorilla.py

14 lines
576 B
Python
Raw Normal View History

2023-08-22 20:16:15 +07:00
import datetime
def prcss(loc, msg):
2024-11-14 13:00:35 +07:00
print(f"[loggorilla][{datetime.datetime.now()}][\033[32mprcss\033[39m][\033[95m{loc}\033[39m] {msg}", flush=True)
2023-08-22 20:16:15 +07:00
def accss(loc, msg):
2024-11-14 13:00:35 +07:00
print(f"[loggorilla][{datetime.datetime.now()}][\033[36maccss\033[39m][\033[95m{loc}\033[39m] {msg}", flush=True)
2023-08-22 20:16:15 +07:00
def fyinf(loc, msg):
2024-11-14 13:00:35 +07:00
print(f"[loggorilla][{datetime.datetime.now()}][\033[93mfyinf\033[39m][\033[95m{loc}\033[39m] {msg}", flush=True)
2023-08-22 20:16:15 +07:00
def error(loc, msg):
2024-11-14 13:00:35 +07:00
print(f"[loggorilla][{datetime.datetime.now()}][\033[31merror\033[39m][\033[95m{loc}\033[39m] {msg}", flush=True)