logstyle
Getting started
Logstyle was developed for simplified usage like in below examples:
- Create your own CustomLog instance
custom_logger = CustomLog("MyLogger")
- Now you can try it using different styles and colors like below:
- Box style logs:
custom_logger.box_log("This is a box log example.", CustomLog.COLOR_GREEN)- Title style logs:
custom_logger.title_log("Title Log", "This is a title log example.", CustomLog.COLOR_BLUE)- JSON style logs:
custom_logger.json_log("JSON Log", "This is a JSON log example.", {"key": "value"}, CustomLog.COLOR_AMBER)- YAML style logs:
custom_logger.yaml_log("YAML Log", "This is a YAML log example.", {"key": "value"}, CustomLog.COLOR_RED)
Metadata
Release files for logstyle 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| logstyle-1.0.3.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| logstyle-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.6 kB
Release files / logstyle-1.0.3.tar.gz
| Download URL | logstyle-1.0.3.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
703ccb3244a4a1a44641ed0e189e2d1c8c991c8b6f3513a96cf5d22b6fda1509
|
|
BLAKE2b-256 checksum How to use checksums |
99bcc2bbf59effd4200bbdb243c9cfda5e5ec5a97e0ba1f64bf1109b2c0871d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / logstyle-1.0.3-py3-none-any.whl
| Download URL | logstyle-1.0.3-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
94b1d9129b8d2ce79bbd4952aeaf0ddf5c476b8d634a4c63c29152c3898e8640
|
|
BLAKE2b-256 checksum How to use checksums |
7f8bbc3c5397c9200370dbb38d02f42beca30134aa36cf573093262eb007f2f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|