Skip to main content

A simple logging library to send logs to a server

Project description

Optilogs

Optilogs is a simple logging library that sends logs to a server via HTTP requests.

Installation

Use the package manager pip to install optilogs.

pip install optilogs

Example

from optilogs.logger import Optilogs

# Create an instance of Optilog with the IP and port of your log server
optilogs = Optilogs(server_ip="0.0.0.0", server_port=5050)

# Send a log
optilogs.log("Ceci est un log de test")

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

optilogs-0.1.3.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

optilogs-0.1.3-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file optilogs-0.1.3.tar.gz.

File metadata

  • Download URL: optilogs-0.1.3.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for optilogs-0.1.3.tar.gz
Algorithm Hash digest
SHA256 5663cb889cabba30ea4a6b27292710bbd1cae0450dce6eed3accd4fbd083934e
MD5 2080eb3fecb3957e831f39abd1507c3a
BLAKE2b-256 cff3352e68fa249065507c0fc15abcd52f152b4ea7c846e2daa45c577edbe42d

See more details on using hashes here.

File details

Details for the file optilogs-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: optilogs-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for optilogs-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bbfb85ca2bdad0425e28ef78d9dc73885ef97008263e666776ca85b538b124a5
MD5 ca75986c307c122c2d083e1c09f76527
BLAKE2b-256 46ac4aa0642b050a79c76d3dc55a35f5805c9893dc10354a48bd837eee2473ac

See more details on using hashes here.

Supported by

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