Skip to content

Commit 5235b0f

Browse files
Bug fixes.
1 parent d5a0eea commit 5235b0f

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ python setup.py install
5353
Changes
5454
-------
5555

56-
### 2.4.1
56+
### 2.4.2
5757

58-
Bug fixes and improvements.
58+
Bug fixes.
5959

6060
[Full Changes Log](https://github.com/MPCodeWriter21/log21/blob/master/CHANGES-LOG.md)
6161

log21/Logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def error(self, *msg, args: tuple = (), end='\n', **kwargs):
119119
msg = ' '.join([str(m) for m in msg]) + end
120120
self._log(ERROR, msg, args, **kwargs)
121121

122-
def exception(self, *msg, args, exc_info=True, **kwargs):
122+
def exception(self, *msg, args: tuple = (), exc_info=True, **kwargs):
123123
"""
124124
Convenience method for logging an ERROR with exception information.
125125
"""

log21/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from log21.Formatters import ColorizingFormatter, DecolorizingFormatter
2222
from log21.Colors import Colors, get_color, get_colors, ansi_escape, get_color_name, closest_color
2323

24-
__version__ = "2.4.1"
24+
__version__ = "2.4.2"
2525
__author__ = "CodeWriter21 (Mehrad Pooryoussof)"
2626
__github__ = "Https://GitHub.com/MPCodeWriter21/log21"
2727
__all__ = ['ColorizingStreamHandler', 'DecolorizingFileHandler', 'ColorizingFormatter', 'DecolorizingFormatter',

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
long_description = file.read()
88

99
DESCRIPTION = 'A simple logging package that helps you log colorized messages in Windows console.'
10-
VERSION = '2.4.1'
10+
VERSION = '2.4.2'
1111

1212
setup(
1313
name='log21',

0 commit comments

Comments
 (0)