Skip to main content

Logger library for Ingenia projects

Project description

Ingenialogger

Module to unify libraries, script and programs logs.

How to use it

Module and libraries

import ingenialogger

logger = ingenialogger.get_logger(__name__)

logger.info("Info log", axis=1, drive="EVE-XCR (192.168.2.22)")

logger.user_warning("User Warning log", code_error="0x2342")

Final application

import ingenialogger

log_queue = ingenialogger.configure_logger(level=ingenialogger.LoggingLevel.INFO, queue=True)
logger = ingenialogger.get_logger(__name__)
logger.user_info("User Info log", axis=2, drive="My drive")

log_msg = log_queue.get().msg
print(ingenialogger.LogParser.parse_log(log_msg))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ingenialogger-0.3.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file ingenialogger-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ingenialogger-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e40cc9aae76dd5a79d32272bd03f340e709a6e20c93b6ede75aeb4f55d988ad4
MD5 5115ec4ff12430dd60325fbda1381870
BLAKE2b-256 8e00f1c1fec2cbd2a488295427327062933b504be3ec4bfecf9ad41cbf4cda7d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page