Skip to main content

Logging for automation, offering thread-safety, log cleanup and screenshot support.

Project description

Automation Logging

Overview

Logging library for automation, offering thread-safety, log cleanup and screenshot support:

  • Thread-Safe Logging: Ensures reliable and consistent logging from multi-threaded applications, preventing message corruption.
  • Automated Log Management: Simplifies log file maintenance with configurable retention policies based on age or file count.
  • Seamless Integration: Enables effortless integration with existing projects by allowing the library to override the standard logging module's root logger.
  • Integrated Screenshot Capture: Captures informative screenshots directly within your logs, supporting full-screen captures (using pyautogui) and Selenium WebDriver screenshots, including headless browser support (using selenium).

Instructions

- How to create wheel

  1. Create a virtual environment and install packages from build-requirements.txt
  2. Activate the virtual environment
  3. From the folder containing "setup.py", execute: python setup.py bdist_wheel
  4. The wheel will be generated inside the dist folder
  5. Install wheel using: pip install dist/automation_logging[...].whl

- How to generate documentation

  1. Create a virtual environment and install packages from build-requirements.txt
  2. Activate the virtual environment
  3. From the sphinx-doc folder, execute: make html
  4. The documentation will be generated inside the sphinx-doc/build/html folder
  5. To use the documentation, open the index.html file

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

automation_logging-1.0.1.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

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

automation_logging-1.0.1-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file automation_logging-1.0.1.tar.gz.

File metadata

  • Download URL: automation_logging-1.0.1.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for automation_logging-1.0.1.tar.gz
Algorithm Hash digest
SHA256 2c348fcc35e173e38cb85e1231a07cd3dc35021e86af555bd4c45d337437f6c1
MD5 1203a278e9b649a0cde0bc6f0f5502a7
BLAKE2b-256 2211be001beaa6897f07f5eb66590aaa61c82b46a54d39c872a29d9aed128659

See more details on using hashes here.

File details

Details for the file automation_logging-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for automation_logging-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1104ba838321a23e631850605aa00e3d77ee52087f83d11ff1f750e467e25fbe
MD5 0f9c6b1c6172d528a03248beb23e1484
BLAKE2b-256 f9f955c0b5d5f0391b0c0a6fc29a1660620b64f26ca1e9317e6e1f21960d76f2

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