Metadata-Version: 2.1
Name: cologs
Version: 0.3
Summary: Colorful and Simple Logger: cologs
Author-email: nullscry <nullscry@nullscry.com>
Description-Content-Type: text/markdown
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Project-URL: Home, https://github.com/nullscry

# 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.">

