Metadata-Version: 2.4
Name: logwise
Version: 1.1.0
Summary: A clean, colorful terminal logger with boxed message support.
Home-page: https://github.com/prateekgupta1089/logwise
Author: Prateek Gupta
Author-email: 
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

# logwise

A colorful, modern terminal logger with support for rounded boxed messages and rich context output.

---

## 🚀 Features

- Custom `BOX` log level with rounded borders
- Colored output using ANSI escape codes
- File and line number context for every log
- Clean formatting with bold styles
- Lightweight, no dependencies

---

## 📦 Installation

```bash
pip install logwise
```

---

## 🛠️ Usage

```python
from logwise import logger

logger.debug("This is a debug message")
logger.info("This is an info message")
logger.warning("This is a warning")
logger.error("This is an error")
logger.box("This is a boxed highlight")
```

---

## 📁 Example Output

```
DEBUG  2025-04-22 12:00:01.123 [DEBUG] This is a debug message (main.py:10)
INFO   2025-04-22 12:00:01.124 [INFO ] This is an info message (main.py:11)
WARN   2025-04-22 12:00:01.125 [WARN ] This is a warning (main.py:12)
ERROR  2025-04-22 12:00:01.126 [ERROR] This is an error (main.py:13)
BOX    2025-04-22 12:00:01.127 (main.py:14)
       ╭────────────────────────────╮
       │ This is a boxed highlight  │
       ╰────────────────────────────╯
```

---

## 🧩 Developer Notes

`logwise` uses a `CustomLogger` class built atop the Python `logging` module. You can plug it into existing logging flows, redirect output, or customize formatting as needed.

---

## 📄 License

MIT. See [LICENSE](./LICENSE).
