Metadata-Version: 2.4
Name: debugger-log
Version: 0.1.0
Summary: A lightweight Python logging utility with colorful console output.
Author-email: Bhargav Barman <bhargavbprd@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/Bhargavxyz738/debug
Project-URL: Bug Tracker, https://github.com/Bhargavxyz738/debug/issues
Keywords: logging,debug,console,color,terminal
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: license-file

# Debug Logger

A lightweight Python logging utility with colorful console output.  
Includes timestamped log levels (INFO, DEBUG, WARNING, ERROR, SUCCESS) for easy debugging in the terminal.

## Features
- Colored log levels (green, cyan, yellow, red, magenta)
- 12-hour timestamp format
- File and line number shown in readable format (e.g. `[in main.py at line 10]`)
- Simple static methods for each log type
- Test function to preview all colors

## Installation
Clone the repository:

```bash
git clone https://github.com/Bhargavxyz738/debug.git
````

And just import it using:

```python
from debug import Debug
```

## Usage

```python
from debug import Debug

Debug.info("Program started")
Debug.debug("Loop iteration 1")
Debug.warn("This might be risky")
Debug.err("Something went wrong!")
Debug.succ("All good now")
```

### Output Example

```
[08:20:01 PM INFO]    [in test_debug.py at line 5] Program started
[08:20:01 PM DEBUG]   [in test_debug.py at line 6] Loop iteration 1
[08:20:01 PM WARNING] [in test_debug.py at line 7] This might be risky
[08:20:01 PM ERROR]   [in test_debug.py at line 8] Something went wrong!
[08:20:01 PM SUCCESS] [in test_debug.py at line 9] All good now
```

## Preview

![Preview](images/image.png)
