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.4.tar.gz (2.3 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.4-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: optilogs-0.1.4.tar.gz
  • Upload date:
  • Size: 2.3 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.4.tar.gz
Algorithm Hash digest
SHA256 0bd0b02daf017031e4a4b874fe8f5588b62c30eb149885ab4aaa766a8385a1b6
MD5 0cf5f6360c5f7cdbba366384bd2ac72f
BLAKE2b-256 2cc1a468cfb7a7295e9254fa4d88f058137ad5b726af3d736d4b7efe180f79cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: optilogs-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 3.1 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b4d84d965e4af7009c398e94fdb0559e50b469f64ce27076dfff4711a1582af7
MD5 143a5a97802ce0e802bc55d0beef4406
BLAKE2b-256 0da6366716ac681bb453905336d101162ce121268d47a07e2d65297c441a6e15

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