moved the files around added demo examples and fixed a bunch of stuff!

This commit is contained in:
2025-10-01 21:07:28 +02:00
parent f1bda77ce2
commit 6580d5c4bc
10 changed files with 410 additions and 308 deletions

View File

@@ -37,3 +37,21 @@ class Logger:
def log_rust_usage(message: str) -> None:
now = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
print(f"{colorama.Fore.GREEN}[ RUST@{now} ]: {message}{colorama.Style.RESET_ALL}")
# <!-- LUA -->
@staticmethod
def log_lua_info(message: str) -> None:
now = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
print(f"{colorama.Fore.MAGENTA}[ LUA_INFO@{now} ]: {message}{colorama.Style.RESET_ALL}")
@staticmethod
def log_lua_error(message: str) -> None:
now = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
print(f"{colorama.Fore.MAGENTA}[ LUA_ERROR@{now} ]: {message}{colorama.Style.RESET_ALL}")
@staticmethod
def log_lua_warning(message: str) -> None:
now = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
print(f"{colorama.Fore.MAGENTA}[ LUA_WARNING@{now} ]: {message}{colorama.Style.RESET_ALL}")