loggerctl
loggerctl is a Python library for logging data to the console and files.
Full documentation can be found on ReadTheDocs(TODO)
Features
loggerctl features multiple available Logger presets to use:
SimpleLogger: A simple logger that outputs to STDOUT. Coloring based on log type.StdLogger: A logger that can log to STDOUT or STDERR. Can be colored.FileLogger: A logger that can log to a file. Cannot be colored.TeeLogger: A logger that can log to both a file and STDOUT. Can be colored.
In addition, the base logger class, Logger, can be used to create custom presets.
Each logger can take a log_type parameter to set the severity level of the log:
INFO: A regular info message: YellowDEBUG: A debug message: Dark graySUCCESS: A success message: GreenWARN: A warning message: Orange/Bright yellowERROR: An error message: RedCRITICAL: A critical message: Red text, black background
All types can be found in LogType. Additionally, setting type_coloring to True will
color the text the same way as the log type.
LogDate can be used to get the current date and time. Pass True to utc to use UTC time instead of
the local timezone.
Installation
loggerctl can be installed from PyPI using pip:
pip install loggerctl
Quickstart
TODO
Credits
Thank you to the following:
- termcolor: Most of the coloring is done by this package. Huge thanks to the devs for this amazing package!
- Sphinx: Used for building the documentation.
- ReadTheDocs: Used for hosting the documentation.
License
Copyright (C) 2026 AstroLightz
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Metadata
Release files for loggerctl 2026.6.2.13.15
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 | Actions |
|---|---|---|---|---|
| loggerctl-2026.6.2.13.15.tar.gz | 83.2 kB | Without provenance | Details for loggerctl-2026.6.2.13.15.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| loggerctl-2026.6.2.13.15-py3-none-any.whl | Python 3 | none | any | Details for loggerctl-2026.6.2.13.15-py3-none-any.whl |
Total release size: 104.9 kB
Release files / loggerctl-2026.6.2.13.15.tar.gz
| Download URL | loggerctl-2026.6.2.13.15.tar.gz |
|---|---|
| Size | 83.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bbb1ba8def73c231254e24bec6e180f20a7c93c8abfd2cd6b9506ff33f6012f8
|
|
BLAKE2b-256 checksum How to use checksums |
03bf3191650bad62816a497017b5ce150739722373ee3ec81ca7bf2ebe742504
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Release files / loggerctl-2026.6.2.13.15-py3-none-any.whl
| Download URL | loggerctl-2026.6.2.13.15-py3-none-any.whl |
|---|---|
| Size | 21.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e5cc1d726355cee5944ba4a3f1ecd698d019eb147f66554ec16b6d5ce29b7d91
|
|
BLAKE2b-256 checksum How to use checksums |
cc5107f288382793ab0d46b26291e3d9e39d246b5b22f687d601b102f14f34dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Security for loggerctl 2026.6.2.13.15
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.