Metadata-Version: 2.4
Name: sumo-logger
Version: 1.2.1
Summary: A lightweight Python logging handler for sending logs to Sumo Logic HTTP Sources.
Author-email: Saad Ullah <saadullah.butt@caregenix.solutions>
License: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Dynamic: license-file

# sumo-logger

A lightweight and production-ready Python package for sending application logs to **Sumo Logic HTTP Sources** using the built-in `logging` module.

---

## 📘 Overview

`sumo-logger` makes it easy to stream your Python logs directly to [Sumo Logic](https://www.sumologic.com/) with minimal setup.  
It extends Python’s native `logging` system, allowing you to:

- Centralize logs across microservices or distributed apps.
- Automatically retry failed requests with exponential backoff.
- Send structured JSON logs containing rich metadata (timestamp, level, file, function, etc.).
- Use it as a drop-in replacement for your existing logging setup.

---

## 📦 Installation

You can install **sumo-logger** directly from [PyPI](https://pypi.org/project/sumo-logger/):

```bash
pip install sumo-logger
```
