Metadata-Version: 2.4
Name: logurich
Version: 0.1.0
Summary: A Python library combining Loguru and Rich for beautiful logging.
Author-email: PakitoSec <jeromep83@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/PakitoSec/logurich
Project-URL: Repository, https://github.com/PakitoSec/logurich
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Logging
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: loguru
Requires-Dist: rich
Dynamic: license-file

# logurich

A Python library combining Loguru and Rich for beautiful logging.

## Installation

```bash
pip install logurich
```

## Usage

Logurich now supports direct imports from the package root, making it easier to access the logger and console:

```python
# Import directly from the package root
from logurich import logger, console

# Use the logger
logger.info("This is a log message")

# Use rich color and rich object formatting
logger.info("[bold green]Rich formatted text[/bold green]")

# Panel rich object with logger and prefix
logger.rich(
    "INFO", Panel("Rich Panel", border_style="green"), title="Rich Panel Object"
)

# Panel rich object without prefix
logger.rich(
    "INFO",
    Panel("Rich Panel without prefix", border_style="green"),
    title="Rich Panel",
    prefix=False,
)
```
