Skip to main content

Advanced logging with encryption, compression, and structured JSON logs.

Project description

advlogs

advlogs is an advanced logging library that enhances traditional logging with AES encryption, Gzip compression, and multi-threading.

Features

  • AES encryption for secure logs
  • Gzip compression for storage efficiency
  • Multi-threaded logging
  • Structured JSON logging

Installation

pip install advlogs


USAGE:
from advlogs import advlogs
from cryptography.fernet import Fernet

key = Fernet.generate_key().decode()
logger = advlogs(log_file="advlogs.log", encrypt=True, key=key)

logger.log("INFO", "This is an encrypted log message.")
logger.compress_logs()

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

advlogs-0.1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

advlogs-0.1.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file advlogs-0.1.0.tar.gz.

File metadata

  • Download URL: advlogs-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.12

File hashes

Hashes for advlogs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 63c43b8b0f2cb47ad634120bc8afb6209b85664736890215bb455a0df7ea63d0
MD5 14a69a775d56cb5d8a1bad705db53501
BLAKE2b-256 9ef2d1da6b449124d0c645eaa31e0ddbc12da8053733672bd3ac9cd95c95e4b8

See more details on using hashes here.

File details

Details for the file advlogs-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: advlogs-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.12

File hashes

Hashes for advlogs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bff15c4e1eda5c8ce1c93006db74ac8802b67ea9ec27074bf9efcfa2021f6649
MD5 2a1b891cbc93bcba5df90d0dc8281fb9
BLAKE2b-256 62b0da40aa78f4c298475994e53345e78469b1ea003b37a4d825ca517cb662a0

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