Skip to content

Commit

Permalink
Prepared update version v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Nakama3942 committed Apr 5, 2023
1 parent f5a1e5c commit 0f8bb9e
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 5 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,3 +276,30 @@ print(f"{GetAnsiFormat('reset/on')}Test string")
- Changed names of keys in "AnsiFormat/font" dictionary from "1th alternative", "2th alternative" and "3th alternative" to "1st alternative", "2nd alternative" and "3rd alternative" respectively.

---

## v0.3.0 (05.04.2023)

#### Documenting:
- Updated documentation;
- Wrote the actual README.md (which corresponds to the current version).

#### Enhancements:
- Added support for inverting colors in posts (console);
- Added support for backgrounds in posts (console, HTML);
- Completely redesigned and written from scratch logger color table;
- Logger included AnsiColorSetInit;
- LoggerQ included HtmlColorSetInitQ;
- Removed list of default colors;
- Post types categorized:
- Debugging (%);
- Event (~);
- Message (@);
- Error (!);
- Process (&).
- Argument names are now required;
- Added an introductory line with system initialized information;
- Added a global enable background setting;
- Started work on the text buffer;
- Added new CombinationException.

---
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ if __name__ == '__main__':
```

The outputs in console will contain the following text (GitHub, PyPi and possibly some other sites do not support displaying colors in Markdown - use resources that support them, such as PyCharm):
> <span style='background-color: #;'><span style='color: #ffd700;'>-Test?entry> $DESKTOP-8KG0R64^User@Windows:10.0.19045:64bit:WindowsPE:AMD64</span></span><br>
> <span style='background-color: #;'><span style='color: #ffd700;'>-Test?entry> $***************^****@*******:**********:*****:*********:*****</span></span><br>
> <span style='background-color: #;'><span style='color: #d2b48c;'>-?entry> </span><span style='color: #da70d6;'>*2023-04-05 15:41:18.616238 </span><span style='color: #ffa500;'>#STATUS: </span><span style='color: #deb887;'>%DEBUG - </span><span style='color: #d2b48c;'>Debug data</span></span><br>
> <b><span style='background-color: #;'><span style='color: #d2b48c;'>-?entry> </span><span style='color: #da70d6;'>*2023-04-05 15:41:18.616238 </span><span style='color: #ffa500;'>#STATUS: </span><span style='color: #deb887;'>%DEBUG - </span><span style='color: #d2b48c;'>Debug data</span></span></b><br>
> <i><span style='background-color: #;'><span style='color: #d2b48c;'>-?entry> </span><span style='color: #da70d6;'>*2023-04-05 15:41:18.616238 </span><span style='color: #ffa500;'>#STATUS: </span><span style='color: #deb887;'>%DEBUG - </span><span style='color: #d2b48c;'>Debug data</span></span></i><br>
Expand All @@ -120,7 +120,7 @@ if __name__ == '__main__':
```

The outputs in console will contain the following text (GitHub, PyPi and possibly some other sites do not support displaying colors in Markdown - use resources that support them, such as PyCharm):
> <span style='background-color: #;'><span style='color: #ffd700;'>-Test?entry> $DESKTOP-8KG0R64^User@Windows:10.0.19045:64bit:WindowsPE:AMD64</span></span><br>
> <span style='background-color: #;'><span style='color: #ffd700;'>-Test?entry> $***************^****@*******:**********:*****:*********:*****</span></span><br>
> <span style='background-color: #;'><span style='color: #b0c4de;'>-?entry> </span><span style='color: #da70d6;'>*2023-04-05 17:09:39.103436 </span><span style='color: #ffa500;'>#STATUS: </span><span style='color: #add8e6;'>@NOTICE - </span><span style='color: #b0c4de;'>Notice data</span></span><br>
> <span style='background-color: #;'><span style='color: #7fff00;'>-?entry> </span><span style='color: #da70d6;'>*2023-04-05 17:09:39.103436 </span><span style='color: #ffa500;'>#STATUS: </span><span style='color: #add8e6;'>@NOTICE - </span><span style='color: #7fff00;'>Notice data</span></span><br>
Expand Down Expand Up @@ -149,7 +149,7 @@ if __name__ == "__main__":
```

The outputs in console will contain the following text (GitHub, PyPi and possibly some other sites do not support displaying colors in Markdown - use resources that support them, such as PyCharm):
> <span style='background-color: #;'><span style='color: #ffd700;'>-Test?entry> $DESKTOP-8KG0R64^User@Windows:10.0.19045:64bit:WindowsPE:AMD64</span></span><br>
> <span style='background-color: #;'><span style='color: #ffd700;'>-Test?entry> $***************^****@*******:**********:*****:*********:*****</span></span><br>
> <span style='background-color: #;'><span style='color: #d2b48c;'>-?entry> </span><span style='color: #da70d6;'>*2023-04-05 17:17:48.365753 </span><span style='color: #ffa500;'>#STATUS: </span><span style='color: #ff8c00;'>Test text </span><span style='color: #deb887;'>%DEBUG - </span><span style='color: #d2b48c;'>Test message Test message Test message Test message Test message</span></span><br>
> <span style='background-color: #;'><span style='color: #f5deb3;'>-?entry> </span><span style='color: #da70d6;'>*2023-04-05 17:17:48.365753 </span><span style='color: #ffa500;'>#STATUS: </span><span style='color: #ff8c00;'>Test text </span><span style='color: #ffdead;'>%DEBUG PERFORMANCE - </span><span style='color: #f5deb3;'>Test message Test message Test message Test message Test message</span></span><br>
> <span style='background-color: #;'><span style='color: #ffe4c4;'>-?entry> </span><span style='color: #da70d6;'>*2023-04-05 17:17:48.365753 </span><span style='color: #ffa500;'>#STATUS: </span><span style='color: #ff8c00;'>Test text </span><span style='color: #ffebcd;'>%PERFORMANCE - </span><span style='color: #ffe4c4;'>Test message Test message Test message Test message Test message</span></span><br>
Expand Down
2 changes: 1 addition & 1 deletion qt_colored_logger/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
from .html_colored_logger import LoggerQ

__authot__ = "Kalynovsky 'Nakama3942' Valentin"
__version__ = "0.2.1"
__version__ = "0.3.0"
__email__ = "nakama3942@gmail.com"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

setup(
name="qt_colored_logger",
version="0.2.1",
version="0.3.0",

author="Kalynovsky 'Nakama3942' Valentin",
author_email="nakama3942@gmail.com",
Expand Down

0 comments on commit 0f8bb9e

Please sign in to comment.