From 43319c914acad5a21b76fc178edea0c55a27b565 Mon Sep 17 00:00:00 2001 From: Dita Aji Pratama Date: Sun, 29 Jun 2025 22:02:00 +0700 Subject: [PATCH] Add loggorilla --- scripts/loggorilla.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 scripts/loggorilla.py diff --git a/scripts/loggorilla.py b/scripts/loggorilla.py new file mode 100644 index 0000000..ea76d63 --- /dev/null +++ b/scripts/loggorilla.py @@ -0,0 +1,13 @@ +import datetime + +def prcss(loc, msg): + print(f"[loggorilla][{datetime.datetime.now()}][\033[32mprcss\033[39m][\033[95m{loc}\033[39m] {msg}", flush=True) + +def accss(loc, msg): + print(f"[loggorilla][{datetime.datetime.now()}][\033[36maccss\033[39m][\033[95m{loc}\033[39m] {msg}", flush=True) + +def fyinf(loc, msg): + print(f"[loggorilla][{datetime.datetime.now()}][\033[93mfyinf\033[39m][\033[95m{loc}\033[39m] {msg}", flush=True) + +def error(loc, msg): + print(f"[loggorilla][{datetime.datetime.now()}][\033[31merror\033[39m][\033[95m{loc}\033[39m] {msg}", flush=True)