Metadata-Version: 2.4
Name: gatolog
Version: 0.1.0
Summary: Super simple, colorized, thread-safe logging tool for Python beginners.
Author-email: gatodata <gatodata@proton.me>
License-File: LICENSE
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# gatolog by gatodata

The simplest way to log your Python applications with colors and file support without complex boilerplate setups. Perfect for beginners and fast-prototyping!

## Features
- 🎨 **Colorized Output**: Clear visual logs out of the box (Windows, Linux, macOS).
- 📂 **File Logging**: Write clean, uncolored logs to files by just providing a path.
- 🧵 **Thread Safe**: Safe for multitasking applications.
- 🧠 **Smart Decorator**: Easily track function runtimes and catch deep tracebacks on crashes.

## Installation

```bash
pip install gatolog
```

## Usage

### Simple Functions
```python
import gatolog

# Log to console only
gatolog.info("Everything is working smoothly.")
gatolog.warning("Resource usage is a bit high...")
gatolog.error("Database connection lost!")

# Log to console AND to a specific file automatically
gatolog.info("User logged in successfully", file_path="logs/app.log")
```

### Smart Decorator
```python
import gatolog

@gatolog.log_action(file_path="logs/actions.log")
def process_division(x, y):
    return x / y

process_division(10, 2)  # Logs execution success and exact speed
process_division(10, 0)  # Logs the error, time spent, and full error traceback!
```
