cologs-0.3


توضیحات

Colorful and Simple Logger: cologs
ویژگی مقدار
سیستم عامل -
نام فایل cologs-0.3
نام cologs
نسخه کتابخانه 0.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده nullscry <nullscry@nullscry.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/cologs/
مجوز -
# cologs [![Build Status](https://github.com/nullscry/cologs/actions/workflows/ci.yml/badge.svg)](https://github.com/nullscry/cologs/actions/workflows/ci.yml) [![PyPI Version](https://img.shields.io/pypi/v/cologs.svg)](https://pypi.python.org/pypi/cologs) A simple colorful wrapper around `logger` from Python Standard Library with no dependencies. cologs sends its colorful output both to the terminal and into logs/cologs.log. The cologs.log file is rotated inside the logs folder when it gets large enough. ## Installation ```sh pip install cologs ``` ## Usage ```python from cologs import get_cologs cologs = get_cologs() cologs.debug("Debug message") cologs.info("Info message") cologs.warning("Warning message") cologs.error("Error message") cologs.critical("Critical message") ``` ## STDOUT <img src="./assets/stdout.jpg" alt="cologs output as seen in terminal."> ## Log File <img src="./assets/cologs.jpg" alt="cologs output as seen in logs/cologs.log file.">


نحوه نصب


نصب پکیج whl cologs-0.3:

    pip install cologs-0.3.whl


نصب پکیج tar.gz cologs-0.3:

    pip install cologs-0.3.tar.gz