Metadata-Version: 2.1
Name: log.py
Version: 0.0.1
Summary: A basic logging library for Python.
Home-page: https://github.com/SebastiaanBij/log.py
Author: Sebastiaan Bij
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Typing :: Typed
Requires-Python: >= 3.10
Description-Content-Type: text/markdown
License-File: LICENSE

# <b><u>log.py</u></b>
[![Python_Shield](https://img.shields.io/badge/Python_3.10-white?style=for-the-badge&logo=python)](https://www.python.org/downloads/release/python-3100/)

## <b>📖 About:</b>
A basic logging library for Python with the capability to:
- save to files.
- have custom formats.
- have custom levels.
- be used instantiated.
- be used non-instantiated.

## <b>📝 Basic Usage:</b>
<i>(For more advanced uses, please refer to the given examples or the documentation.)</i>
### <u>Instantiated:</u>
- Code:
```python
from logpy import Logger
from logpy.log import Levels

logger = Logger()
logger.log("Hello World!")
logger.log("Oh no, something went wrong!", Levels.error)
```

- Terminal:\
![img.png](images/terminal_result.png)

### <u>Non-instantiated:</u>
- Code:
```python
from logpy import Logger
from logpy.log import Levels

Logger.slog("Hello World!")
Logger.slog("Oh no, something went wrong!", Levels.error)
```

- Terminal:\
![img.png](images/terminal_result.png)

## <b>🔧 Examples:</b>
[Click me!](https://github.com/SebastiaanBij/log.py/tree/main/examples)

## <b>📚 Documentation:</b>

## <b>❗ Requirements:</b>
- [Python 3.10](https://www.python.org/downloads/release/python-3100/)


