diff --git a/logmagix/logger.py b/logmagix/logger.py index 4867979..0a67442 100644 --- a/logmagix/logger.py +++ b/logmagix/logger.py @@ -39,7 +39,7 @@ def warning(self, message: str, start: int = None, end: int = None, level: str = def message(self, level: str, message: str, start: int = None, end: int = None) -> None: time = self.get_time() - timer = f" {self.MAGENTAA}In{self.WHITE} -> {self.MAGENTAA}{str(end - start)[:5]} Seconds" if start and end else "" + timer = f" {self.MAGENTAA}In{self.WHITE} -> {self.MAGENTAA}{str(end - start)[:5]} Seconds {Fore.RESET}" if start and end else "" print(f"{self.prefix}[{self.MAGENTAA}{time}{self.PINK}] [{self.CYAN}{level}{self.PINK}] -> [{self.CYAN}{message}{self.PINK}]{timer}") def message2(self, level: str, message: str, start: int = None, end: int = None) -> None: diff --git a/setup.py b/setup.py index f993430..9da5ef7 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name="logmagix", - version="1.0.9", + version="1.10.0", packages=find_packages(), install_requires=["colorama"], author="Sexfrance",