A simple logging module for Python
Project description
Synthra Logger
A simple and customizable Python logging module that uses color formatting and timestamps. Ideal for creating console logs with different severity levels like info, debug, fail, and more. It also includes a method for capturing user input with a timestamp.
Features
- Color-coded log levels: Includes support for
INFO,DEBUG,FAIL,WARN,SUCCESS, and more. - Timestamped logs: Each log entry is prefixed with the current time for easy tracking.
- Thread-safe: Uses a
Lockto ensure logs are printed correctly in multi-threaded applications. - User input capture: The logger can also capture and display user input with a timestamp.
Installation
To install the synthra logger, you can either install it via pip from a local directory or from PyPI if you decide to upload it.
Local Installation
- Clone the repository or download the source code.
- Navigate to the root directory of the project (where
setup.pyis located). - Run the following command to install the logger package:
pip install -e .
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 synthra-0.1.0.tar.gz.
File metadata
- Download URL: synthra-0.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d0db96f21dcd5c23394207d4f0a54ad62b89dc95eb6af7a25065df9787a1e6b
|
|
| MD5 |
d7fd81cd4f2e9bbc8f75ea128fcc9f73
|
|
| BLAKE2b-256 |
9c2a416cd02b73865a93f4fb109270b55c477fd0ab1d8d8d7b704a97d5503a74
|
File details
Details for the file synthra-0.1.0-py3-none-any.whl.
File metadata
- Download URL: synthra-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17e212f56be3896287e29585b492be4fc3d9ff6512922f797a78f66ad313932b
|
|
| MD5 |
8cada6066de87d98f40bba1f9ff31f18
|
|
| BLAKE2b-256 |
04607cdbc221dfbf494364456dbedc74ca85358b0b35e150a7372e01486c6121
|