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.2.tar.gz (2.5 kB view hashes)

Uploaded Source

Supported by

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