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) 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"})
Metadata
Release files for django-jlog 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-jlog-1.1.3.tar.gz | 2.5 kB | Details |
Release files / django-jlog-1.1.3.tar.gz
| Download URL | django-jlog-1.1.3.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb9b8401772c215103bac0dfb387ec0ab1e3a80cb9fce972dd7da8d6023da9a4
|
|
BLAKE2b-256 checksum How to use checksums |
3345da507e76c3a36de3b7b87e66d3988f65db089e262124d1bde0602e0ebcdc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|