Metadata-Version: 2.4
Name: pylogger-ocg
Version: 1.0.0
Summary: Distributed logging system with ingestion + CLI
Author: Anuj Pandey
License: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: fastapi
Requires-Dist: uvicorn
Requires-Dist: requests

# pylogger-ocg

Distributed Python logger with:

- JSON logging
- Rotation
- Multi-service ingestion
- CLI log server

## Install

pip install pylogger-ocg

## Run Server

pylogger-server

## Use Logger

```python
from pylogger import get_logger

logger = get_logger(
    ingest_url="http://localhost:8000/ingest",
    service_name="service-A"
)

logger.info("Hello world")
