Skip to content

Commit 77c6994

Browse files
Bug fixes.
1 parent dee8992 commit 77c6994

5 files changed

Lines changed: 10 additions & 6 deletions

File tree

CHANGES-LOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ Help this project by [Donation](DONATE.md)
66
Changes log
77
-----------
88

9+
### 2.1.8
10+
11+
Bug fixes.
12+
913
### 2.1.7
1014

1115
Added `getpass` method to `log21.Logger` class and added `log21.getpass` function.
@@ -134,4 +138,4 @@ You can use `ColorizingArgumentParser` to have a colorful ArgumentParser.
134138

135139
### 1.4.4
136140

137-
`get_color` function now supports hexadecimal and decimal RGB values.
141+
`get_color` function now supports hexadecimal and decimal RGB values.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ python setup.py install
5050
Changes
5151
-------
5252

53-
### 2.1.7
53+
### 2.1.8
5454

55-
Added `getpass` method to `log21.Logger` class and added `log21.getpass` function.
55+
Bug fixes.
5656

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

log21/Formatters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def colorize(self, record):
190190
if hasattr(record, 'threadName'):
191191
record.threadName = _gc(*self.thread_name_color) + record.threadName + reset
192192
if hasattr(record, 'message'):
193-
record.message = _gc(*self.message_color) + record.message + reset
193+
record.message = _gc(*self.message_color) + record.message
194194

195195
return record
196196

log21/__init__.py

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

22-
__version__ = "2.1.7"
22+
__version__ = "2.1.8"
2323
__author__ = "CodeWriter21 (Mehrad Pooryoussof)"
2424
__github__ = "Https://GitHub.com/MPCodeWriter21/log21"
2525
__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.1.7'
10+
VERSION = '2.1.8'
1111

1212
setup(
1313
name='log21',

0 commit comments

Comments
 (0)