Python program prints unix style logging on terminal
Project description
A simple unix style logging in color format. Light weight library for Color formating.
Features
- Include warning, error, info, debug, success, trace
- Light weight import
- unix style format
Installation
pip install unixlog
Examples
>>> from unixlog import error, warning, info, success, trace, debug
>>> print(error("This error text"))
[ ERROR ] This error text
>>> error("This error text")
'\x1b[91m[ ERROR ] This error text\x1b[0m'
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
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 unixlog-0.0.2.tar.gz.
File metadata
- Download URL: unixlog-0.0.2.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32574b1c649dfc9c98b4d67e3e397ce6b560258099a249a38d06439e2f6415a6
|
|
| MD5 |
982e5f0c18eaa0faf95a85e538bee2f7
|
|
| BLAKE2b-256 |
39c754e2da5b612dc1f8c4c16a20eefde5fdf88e4a949df686bdf4e646ecd306
|
File details
Details for the file unixlog-0.0.2-py3-none-any.whl.
File metadata
- Download URL: unixlog-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81bebc95389e3e23e06a4c93d7cbbbc6ffb504eb8787632df1ed1dd3e90cd90e
|
|
| MD5 |
9a9d265198d2393947157af0db2b9bc4
|
|
| BLAKE2b-256 |
5754755cd956fe4ec5d86cfc98ceb1c5c91f9670f75882870e2cb0be86228ace
|