diff --git a/README.md b/README.md index 8453763..e3cd054 100644 --- a/README.md +++ b/README.md @@ -53,9 +53,9 @@ python setup.py install Changes ------- -### 2.4.1 +### 2.4.2 -Bug fixes and improvements. +Bug fixes. [Full Changes Log](https://github.com/MPCodeWriter21/log21/blob/master/CHANGES-LOG.md) diff --git a/log21/Logger.py b/log21/Logger.py index 3da128e..9f62d96 100644 --- a/log21/Logger.py +++ b/log21/Logger.py @@ -119,7 +119,7 @@ def error(self, *msg, args: tuple = (), end='\n', **kwargs): msg = ' '.join([str(m) for m in msg]) + end self._log(ERROR, msg, args, **kwargs) - def exception(self, *msg, args, exc_info=True, **kwargs): + def exception(self, *msg, args: tuple = (), exc_info=True, **kwargs): """ Convenience method for logging an ERROR with exception information. """ diff --git a/log21/__init__.py b/log21/__init__.py index 47f4f5e..854f3dd 100644 --- a/log21/__init__.py +++ b/log21/__init__.py @@ -21,7 +21,7 @@ from log21.Formatters import ColorizingFormatter, DecolorizingFormatter from log21.Colors import Colors, get_color, get_colors, ansi_escape, get_color_name, closest_color -__version__ = "2.4.1" +__version__ = "2.4.2" __author__ = "CodeWriter21 (Mehrad Pooryoussof)" __github__ = "Https://GitHub.com/MPCodeWriter21/log21" __all__ = ['ColorizingStreamHandler', 'DecolorizingFileHandler', 'ColorizingFormatter', 'DecolorizingFormatter', diff --git a/setup.py b/setup.py index 3a7c10e..4228b76 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ long_description = file.read() DESCRIPTION = 'A simple logging package that helps you log colorized messages in Windows console.' -VERSION = '2.4.1' +VERSION = '2.4.2' setup( name='log21',