cx-logger
That is really easy to use automatic logger. To start using it in app just install it.
pip install cx-logger
When library had been installed, import it. All code snippets above would use that import.
import cx_logger as logger
How create log directory? That is really simple, just type.
import cx_logger as logger
import pathlib
manager = logger.logs_manager(pathlib.Path("./logs"))
logging = manager.get_logger(logger.sync_logger)
logging.use_handler(logger.stderr_handler())
logging.info("That is only info.")
logging.warning("Oh, that's warning!!!")
After that operation You would see something like that in stderr.
[info] (2025-10-23 14:12:12) That is only info.
[warning] (2025-10-23 14:12:12) Oh, that's warning!!!
Directory ./logs would be created if not already exists, and in it You would see somethind like "2025-10-23.1.log". When You run script twice, then second file would be named like "2025-10-23.2.log".
More info
- See in the wiki
Metadata
Release files for cx-logger 2025.10.23.post4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cx_logger-2025.10.23.post4.tar.gz | 7.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cx_logger-2025.10.23.post4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.6 kB
Release files / cx_logger-2025.10.23.post4.tar.gz
| Download URL | cx_logger-2025.10.23.post4.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5802278f62bbfd4b9d71deca1836d38f101822da0da046800c5d0849441b053
|
|
BLAKE2b-256 checksum How to use checksums |
82263e786277a12a265939f706e5457267f0d9f2117b720d8945bae0628b4d3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|
Release files / cx_logger-2025.10.23.post4-py3-none-any.whl
| Download URL | cx_logger-2025.10.23.post4-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
44e453c2e6adf8634d92ca5a577ed5a1137019b757adad87756b09b876625d93
|
|
BLAKE2b-256 checksum How to use checksums |
5554481bfdf081182a631c7a8e28a42838d649a04957aee5b1cec457754148c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|
Security for cx-logger 2025.10.23.post4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.