Qt-colored-logger

Latest version: v0.4.0.1

Safety actively analyzes 638379 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.2.0

Documentation:
- Documented all new functionality;
- Fixed typos and outdated information in old documentation.

Enhancements:
- Added a large dictionary of all ANSI escape codes and the GetAnsi() function to get it;
- CodColor() function renamed to AnsiForegroundColor();
- Fully implemented AnsiColorSetInit and Logger classes based on HtmlColorSetInitQ and LoggerQ;
- Singleton pattern used by HtmlColorSetInitQ, LoggerQ, AnsiColorSetInit and Logger moved to a separate class;
- A base class has been created for LoggerQ and Logger, which includes initialization, setting up loggers and generating record strings (*at the moment, inherited classes are used to simplify interaction with the base class and use ready-made functionality, but in the future their own functionality will be expanded*);
- Optimized HexColor() and AnsiForegroundColor() functions;
- **The project structure has been completely changed** (*however, this only affects the development of the library and support for programs written with the version of the library v0.1.0 will remain, since the external attributes of communication with the library have not changed*);
- Added the DefaultColorScheme list, which stores a list of all colors that are used in the color schemes of the loggers and the GetDefaultColorScheme() function to get this list;
- Now the ColorPicker dictionary stores only color values in RGB, and other formats are obtained by converting RGB;
- Added functions Dec2Hex(), Dec2Ansi(), Hex2Dec(), Hex2Ansi(), Ansi2Dec(), Ansi2Hex(), which are used to convert one color value format to another;
- *The logic of assembling strings logging entry's has been completely changed*;
- The work of the HtmlColorSetInitQ and LoggerQ classes is adjusted to the new best functionality that is used in the new classes AnsiColorSetInit and Logger.

0.1.0

Bug Fixes:
- Fixed a bug that occurs when passing arguments to the LoggerQ constructor;
- Fixed a bug due to which the color value was not correctly saved in the logger's color table when changing the color manually.

Documenting:
- Completed documentation of the library;
- Wrote the actual README.md (which corresponds to the current version).

Enhancements:
- Slightly redefined colors in the logger;
- Changed the order of colors in the color table.

0.0.8

Bug Fixes:
- Found and fixed several minor bugs.

Documenting:
- The HtmlColorSetInitQ class is fully documented;
- Slightly fixed CHANGELOG.

Enhancements:
- The color system has been completely redesigned (i.e. the system for working with colors);
- Added ALL X11 table colors [from this page](https://en.wikipedia.org/wiki/Web_colors);
- Added functions for getting color values in different formats by their names;
- Added ColorException;
- Started work with console logger (*not yet available*);
- PickerModifierQ class renamed to HtmlColorSetInitQ;
- Now only one object of the HtmlColorSetInitQ class can be created;
- Now only one object of the LoggerQ class can be created;
- The color table of the LoggerQ logger has been changed - now the table does not store color names, but abstract names:
- TIME;
- USER;
- STATUS;
- STATUS_MESSAGE;
- TYPE_DEBUG;
- DEBUG_MESSAGE;
- TYPE_DEBUG_PERFORMANCE;
- DEBUG_PERFORMANCE_MESSAGE;
- TYPE_PERFORMANCE;
- PERFORMANCE_MESSAGE;
- TYPE_EVENT;
- EVENT_MESSAGE;
- TYPE_AUDIT;
- AUDIT_MESSAGE;
- TYPE_METRICS;
- METRICS_MESSAGE;
- TYPE_USER;
- USER_MESSAGE;
- TYPE_MESSAGE;
- MESSAGE_MESSAGE;
- TYPE_INFO;
- INFO_MESSAGE;
- TYPE_NOTICE;
- NOTICE_MESSAGE;
- TYPE_WARNING;
- WARNING_MESSAGE;
- TYPE_ERROR;
- ERROR_MESSAGE;
- TYPE_CRITICAL;
- CRITICAL_MESSAGE;
- TYPE_PROGRESS;
- PROGRESS_MESSAGE;
- TYPE_SUCCESS;
- SUCCESS_MESSAGE;
- TYPE_FAIL;
- FAIL_MESSAGE.
- Now, initially this table is not initialized and the logger will not be able to work. First you need to initialize the table by creating an object of the HtmlColorSetInitQ class, which also provides methods for changing this very logger color table;
- Implemented library functionality tests for early detection of minor bugs.

0.0.7

Bug Fixes:
- I renamed the color RED to FIREBRICK, and in the code I still refer to RED. Fixed this bug

0.0.6

Bug Fixes:
- I renamed the color VIOLET to BLUEVIOLET, and in the code I still refer to VIOLET. Fixed this bug

0.0.5

Documenting:
- The LoggerQ class is fully documented

Enhancements:
- Added new types of log output:
1. DEBUG_PERFORMANCE
2. PERFORMANCE
3. EVENT
4. AUDIT
5. METRICS
6. USER
7. MESSAGE
8. NOTICE
- Added new colors:
1. FIREBRICK *replaced RED*
2. MEDIUMSPRINGGREEN
3. SPRINGGREEN
4. MEDIUMSEAGREEN
5. SEAGREEN
6. FORESTGREEN *not used yet*
7. YELLOWGREEN
8. OLIVEDRAB
9. OLIVE
10. DARKOLIVEGREEN
11. AQUAMARINE *replaced BLUE*
12. TURQUOISE *replaced DARKBLUE*
13. SKYBLUE *replaced OCEANBLUE*
14. LIGHTSKYBLUE *replaced DARKOCEANBLUE*
15. BLUE *Adopted its color according to the X11 standards table*
16. MEDIUMBLUE
17. DARKBLUE *Adopted its color according to the X11 standards table*
18. NAVY
19. BLUEVIOLET *replaced VIOLET*
20. DARKVIOLET *Adopted its color according to the X11 standards table*
21. GAINSBORO
22. LIGHTGREY
23. SILVER
24. DIMGREY

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.