Metadata-Version: 2.4
Name: logging-forensic
Version: 0.1.0
Summary: Forensic logging setup for python projects
Author: Dietmar Fackelmann
Author-email: Dietmar Fackelmann <fackelm2@nmit.de>
License: MIT
Project-URL: Homepage, https://github.com/fackelm2/logging-setup
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Dynamic: author

The tool has been developed for the purpose of facilitating the forensic aspects of logging configurations. <br>
It enables users to customize their logging environment by specifying parameters such as file names and directory structures.

To use logging-forensic install the modul via pip

# install logging-forensic via pip
````
pip install git+https://github.com/fackelm2/logging-forensic.git
````

# update logging-forensic via pip
````
pip install --upgrade --force-reinstall git+https://github.com/fackelm2/logging-forensic.git
````

# example usage of logger-forensic in your python script:
````
from logging-forensic import forensic_logger

timestring = time.strftime("%Y%m%d-%H%M%S")
logfile_path = Path(__file__).resolve().parent.parent / "log" / f"{timestring}_<case>.log"
logger = forensic_logger('<scriptname>', logfile_path, 'INFO', False)
````

