https://github.com/eeriemyxi/kisesi
Light wrapper around Python's `logging` built-in module.
https://github.com/eeriemyxi/kisesi
color logging python wrapper
Last synced: 4 months ago
JSON representation
Light wrapper around Python's `logging` built-in module.
- Host: GitHub
- URL: https://github.com/eeriemyxi/kisesi
- Owner: eeriemyxi
- License: mit
- Created: 2024-12-25T16:31:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-03T15:32:32.000Z (over 1 year ago)
- Last Synced: 2025-03-19T20:49:12.036Z (over 1 year ago)
- Topics: color, logging, python, wrapper
- Language: Python
- Homepage: https://pypi.org/p/kisesi
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kisesi
Kisesi is a light wrapper around the built-in `logging` module of Python
standard library. This module is written in a hacky way and thus is meant for
personal use.
# Demos
```python
import kisesi
def main() -> None:
kisesi.basic_config(level=kisesi.DEBUG, incdate=True)
log = kisesi.get_logger(__name__)
log.debug("This is a \"debug\" message.")
log.info("This is a \"info\" message.")
log.warning("This is a \"warning\" message.")
log.error("This is a \"error\" message.")
log.critical("This is a \"critical\" message.")
if __name__ == "__main__":
main()
```
## Preview
### Maple Font

### Normal

# Guide
You are expected to read the [source
code](https://github.com/eeriemyxi/kisesi/blob/main/src/kisesi/__init__.py) to
figure out all the features.
# Installation
Pypi
```shell
user:~$ pip install kisesi
```
Git
```shell
user:~$ pip install git+https://github.com/eeriemyxi/kisesi
```