Logstyle is simply lightweight, colorful and customizable logging library
Project description
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)
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
logstyle-1.0.3.tar.gz
(3.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file logstyle-1.0.3.tar.gz.
File metadata
- Download URL: logstyle-1.0.3.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
703ccb3244a4a1a44641ed0e189e2d1c8c991c8b6f3513a96cf5d22b6fda1509
|
|
| MD5 |
01a08e2fce4df1b633c94c923b860d49
|
|
| BLAKE2b-256 |
99bcc2bbf59effd4200bbdb243c9cfda5e5ec5a97e0ba1f64bf1109b2c0871d6
|
File details
Details for the file logstyle-1.0.3-py3-none-any.whl.
File metadata
- Download URL: logstyle-1.0.3-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94b1d9129b8d2ce79bbd4952aeaf0ddf5c476b8d634a4c63c29152c3898e8640
|
|
| MD5 |
a113436c61daeb6bbd9a8e075e196a94
|
|
| BLAKE2b-256 |
7f8bbc3c5397c9200370dbb38d02f42beca30134aa36cf573093262eb007f2f7
|