diff --git a/unit.py b/unit.py new file mode 100644 index 0000000..bf742e1 --- /dev/null +++ b/unit.py @@ -0,0 +1,7 @@ +from typing import Any + +from sanic.log import Colors + + +def sio_log_format(text: str, data: Any): + return f"{Colors.GREEN}{text} {Colors.PURPLE}{data}{Colors.END}"