Metadata-Version: 2.1
Name: cologs
Version: 0.1
Summary: Extremely 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

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 write_compressed, read_compressed

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

