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).
  • Performance Profiling: Capture elapsed and CPU times of functions using decorators and log the results.

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-0.2.0.tar.gz (17.6 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-0.2.0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: automation_logging-0.2.0.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for automation_logging-0.2.0.tar.gz
Algorithm Hash digest
SHA256 bdd4d56810e2e089a099441f3e3482c3df1b1f73bc9452d9b0ede31895b49896
MD5 a9eb1aad677f6ca036697665ed0d3df4
BLAKE2b-256 5f724136941c2da92bc2091624f90381bdcfc6bb39b76d45fa32626fccbe9938

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for automation_logging-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 78bd1f0c6c4adf74b596e46bd42c58e7c0aeae3a56548792addefcf26ba59bdc
MD5 531f8f0973b9bf0a180d14202f837198
BLAKE2b-256 883ca27d1756cc98fbe20092aa9e9b042b27796a042c202faff0c4d8f1d74eee

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