Skip to content

Commit

Permalink
Bug fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
MPCodeWriter21 committed Feb 20, 2023
1 parent d5a0eea commit 5235b0f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion log21/Logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand Down
2 changes: 1 addition & 1 deletion log21/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 5235b0f

Please sign in to comment.