Custom python logging formatter with color output.
Project description
A python logging module with colors.
Examples
from arklog import ColorLogger
logger = ColorLogger(__name__, 1)
logger.debug("debug message")
logger.info("info message")
logger.warning("warning message")
logger.error("error message")
logger.critical("critical message")
logger.success("success message")
logger.extra("extra message")
logger.exception("exception message")
import arklog
arklog.debug("debug message")
arklog.info("info message")
arklog.warning("warning message")
arklog.error("error message")
arklog.critical("critical message")
arklog.success("success message")
arklog.extra("extra message")
arklog.exception("exception message")
Changelog
0.7.0 (2025-06-21)
Add convenience methods.
0.6.0 (2025-06-20)
Create custom logger class instead of monkey patching.
0.5.3 (2024-12-02)
Fix readme path for correct deployment.
0.5.2 (2024-12-02)
Add convenience method set_logging.
0.5.1 (2023-03-03)
Fix missing import.
Update requirements.
0.5.0 (2022-09-07)
Add two logging methods.
0.4.1 (2020-06-22)
Check if dev file exists.
0.4.1 (2020-06-15)
Revert mistake removing color from console.
0.4.0 (2020-06-13)
Add exception method.
0.3.0 (2020-06-13)
Fix requirements generation.
0.2.0 (2020-06-03)
Add extra method.
Add success method.
0.1.0 (2020-06-03)
Allow direct access to functions.
0.0.1 (2020-06-03)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
arklog-0.7.0.tar.gz
(4.8 kB
view details)
Built Distribution
File details
Details for the file arklog-0.7.0.tar.gz
.
File metadata
- Download URL: arklog-0.7.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
8f9a83969bcb557d115e2aa5e368cb045d64947407f60728a9c661d6582c26f2
|
|
MD5 |
3490620ef1323c794035d1f02e18f239
|
|
BLAKE2b-256 |
29d25ec4e76a0e2f03a109369f7ed6ba29da0ff82c110f20ab971bd03b6cfd3a
|
File details
Details for the file arklog-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: arklog-0.7.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b534ff668edbf8c6764581b9af3e0fd02413d5d33f44f7ed467435d664a95c3b
|
|
MD5 |
2b249ff38dfb36a2cf98ede0cbc609ff
|
|
BLAKE2b-256 |
db9e5722ddc2926c1bf960c846fbc559a0899dc55f5e6c87b11415853f804284
|