Huge updates/additions

This commit is contained in:
oitsjustjose 2021-06-09 18:58:42 -05:00
commit f718ea9a46
4 changed files with 267 additions and 80 deletions

View file

@ -3,6 +3,7 @@ Author: Jose Stovall | oitsjustjose
"""
from typing import Union
from pip._vendor.colorama import Fore
@ -58,3 +59,12 @@ class Logger:
_with_color(f"[{self._name}]: {msg}", Fore.RED)
else:
_with_color(msg, Fore.RED)
def notice(self, msg: str) -> None:
"""
Prints out a notice in a color that will be seen
"""
if self._name:
_with_color(f"[{self._name}]: {msg}", Fore.BLUE)
else:
_with_color(msg, Fore.BLUE)