Metadata-Version: 2.1
Name: django-jlog
Version: 1.0
Summary: Log your request and response data
Home-page: https://github.com/javiddo/django-jlog
Author: Javid Aliyev
Author-email: jaliyev1987@gmail.com
License: MIT
Description-Content-Type: text/x-rst
License-File: LICENSE

Jlog
~~~~~~~~~~~

* A simple logging package that helps you save logs by days.

* Package is intended to write logs if you work with requests and responses during integration with third party APIs

* Date and time, log type (request/response), file path are added to every line

Installation
::

 pip install django-jlog

Set folder name in settings.py (by default it is `logs`)
::

 LOG_FOLDER_NAME='daily_logs'

Usage
::

 from jlog.file import Log


 Log.request('write here your request data', ['for', 'example'])

 Log.response('write here your response text message', {"testName": "Javid"})
