Skip to main content

Personalized logger for RPA solutions

Project description

Robolog

This is a set of predefined configurations optimized for RPA usage. The aim of this project is to anticipate which logging configurations would best suit your needs and set them as defaults. This fully capable logger can be created with just a single line of code. It is highly configurable and can seamlessly coexist with other loggers.

If you are acquainted with Python's logging library, you can leverage this tool to save time on intricate configurations. Conversely, if you've recently embarked on your Python journey, you can employ basic syntax without being encumbered by handlers, formatters, and other components necessary for proper logging setup. Simply follow these instructions to utilize a fully functional logger within minutes.

Prerequisites

This package was developed and tested on Windows, but it should function on other systems as long as their console is capable of handling the colorlog library, the sole dependency.

While some tests are planned, they are not implemented at this stage of the project.

Installation

In order to install the robolog package just make sure that you have access to the PyPI and type in your shell:

pip install robolog 

Now you can import the robolog library into your project files.

Test default settings:

After installation, import the robolog library at the top of your script and run the following:

from robolog import robolog

log = robolog.get_logger()

log.debug("Testing logger. This is level DEBUG")
log.info("Testing logger. This is level INFO")
log.warning("Testing logger. This is level WARNING")
log.error("Testing logger. This is level ERROR")

You shuld see all available logs in your console:

Image Alt Text

Also check if default directory log was created. Yhere should be a log file with slightly different (more detailed) format.

Logging customization

Comming soon...

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

robolog-0.2.0.tar.gz (28.4 kB view details)

Uploaded Source

Built Distribution

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

robolog-0.2.0-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: robolog-0.2.0.tar.gz
  • Upload date:
  • Size: 28.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for robolog-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b00c60bf8fe6540ca98053cd03fa4a18b121b4dc7152f315f46def88ef710341
MD5 4e78887a2ab155d89a7692151ab92724
BLAKE2b-256 355aadead086019621dd7bc34cbe1c02dd22e721a383bb4307e6e128187871a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: robolog-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 27.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for robolog-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 abcf3e246032ced90da8c6d5859e6cf93c83f66cbe32732cfccb546410b76c0f
MD5 3ad7eea9640f1cf33e8566b0d33d6583
BLAKE2b-256 3fefc92352c85bb865896a91906e80f9735c2c4782ceb25386a66de99547fde5

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