Skip to main content

Log your request and response data

Project description

  • 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"})

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-jlog-1.1.3.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file django-jlog-1.1.3.tar.gz.

File metadata

  • Download URL: django-jlog-1.1.3.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for django-jlog-1.1.3.tar.gz
Algorithm Hash digest
SHA256 eb9b8401772c215103bac0dfb387ec0ab1e3a80cb9fce972dd7da8d6023da9a4
MD5 ab51fa5e6a67bb430a01433991100275
BLAKE2b-256 3345da507e76c3a36de3b7b87e66d3988f65db089e262124d1bde0602e0ebcdc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page