Home
Solus
Search
Configure Global Search
Log In
Transactions
D12470
Change Details
Change Details
Old
New
Diff
**Changelog:** - Add a `force_color` option to `colorlog.formatter.ColoredFormatter`. - Support the `FORCE_COLOR` environment variable. - Added type hints and added mypy to CI. - Support 256 colour ANSI codes. - Support "light" ANSI codes. - Support the `NO_COLOR` environment variable, and a no_color option. - Updated various examples and documentation (#85). - Merged `TTYColoredFormatter` into `ColoredFormatter`, and ensure no ANSI codes are printed when colors are disabled. - Replaced `LevelFormatter` with a far simpler implementation. - Fixed version_info check for the Formatter validate parameter. - Define formatMessage instead of format, so that ColoredRecord is used in fewer places. - Use setuptool's "normalised" format for the version number. - Add PEP 561 typing marker so mypy can find type annotations. - Renamed internal modules. - `colorlog.colorlog` is now `colorlog.formatter`. - `colorlog.logging` is now `colorlog.wrappers`. - Removed `colorlog.escape_codes` object so that the `colorlog.escape_codes` module can be imported and used. - Import log levels from the `logging` module. Signed-off-by: Algent Albrahimi <algent@protonmail.com>
**Changelog:** - Add a `force_color` option to `colorlog.formatter.ColoredFormatter`. - Support the `FORCE_COLOR` environment variable. - Added type hints and added mypy to CI. - Support 256 colour ANSI codes. - Support "light" ANSI codes. - Support the `NO_COLOR` environment variable, and a no_color option. - Updated various examples and documentation (#85). - Merged `TTYColoredFormatter` into `ColoredFormatter`, and ensure no ANSI codes are printed when colors are disabled. - Replaced `LevelFormatter` with a far simpler implementation. - Fixed `version_info` check for the Formatter validate parameter. - Define `formatMessage` instead of format, so that `ColoredRecord` is used in fewer places. - Use setuptool's "normalised" format for the version number. - Add PEP 561 typing marker so mypy can find type annotations. - Renamed internal modules. - `colorlog.colorlog` is now `colorlog.formatter`. - `colorlog.logging` is now `colorlog.wrappers`. - Removed `colorlog.escape_codes` object so that the `colorlog.escape_codes` module can be imported and used. - Import log levels from the `logging` module. Signed-off-by: Algent Albrahimi <algent@protonmail.com>
**Changelog:** - Add a `force_color` option to `colorlog.formatter.ColoredFormatter`. - Support the `FORCE_COLOR` environment variable. - Added type hints and added mypy to CI. - Support 256 colour ANSI codes. - Support "light" ANSI codes. - Support the `NO_COLOR` environment variable, and a no_color option. - Updated various examples and documentation (#85). - Merged `TTYColoredFormatter` into `ColoredFormatter`, and ensure no ANSI codes are printed when colors are disabled. - Replaced `LevelFormatter` with a far simpler implementation. - Fixed
`
version_info
`
check for the Formatter validate parameter. - Define
`
formatMessage
`
instead of format, so that
`
ColoredRecord
`
is used in fewer places. - Use setuptool's "normalised" format for the version number. - Add PEP 561 typing marker so mypy can find type annotations. - Renamed internal modules. - `colorlog.colorlog` is now `colorlog.formatter`. - `colorlog.logging` is now `colorlog.wrappers`. - Removed `colorlog.escape_codes` object so that the `colorlog.escape_codes` module can be imported and used. - Import log levels from the `logging` module. Signed-off-by: Algent Albrahimi <algent@protonmail.com>
Continue