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 optilog.logger import Optilog

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

# Send a log
optilog.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.2.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.2-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: optilogs-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 ee39af1b2c3621e051327b6abcd1b633c1f04c10b71d00c882e66f1585648fb1
MD5 fa8e9e33828be864bd36eae54d4c5ff9
BLAKE2b-256 4a01b0c1c500f47feb0c6feacea556f4e2772626274e63307ce53ead130ddf05

See more details on using hashes here.

File details

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

File metadata

  • Download URL: optilogs-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 096271ac52945bfa1e3b133cdc54bf90ae1e38edfeed02f560298f63d345f4d4
MD5 4fb3e85112742d7c3129342832e24b7e
BLAKE2b-256 62b817c8d98b37743a061f2a9251c7b099df43ada62e213bf9f2feaaff77f9cb

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