Skip to main content

Kiewit Data Services logging and data connection helpers

Project description

DEBUG: Detailed information, typically of interest only when diagnosing problems. INFO: Confirmation that things are working as expected. WARNING: An indication that something unexpected happened, or indicative of some problem in the near future (e.g. ‘disk space low’). The software is still working as expected. ERROR: Due to a more serious problem, the software has not been able to perform some function. CRITICAL: A serious error, indicating that the program itself may be unable to continue running.

################################################# INSTRUCTIONS #########################################################

In your program always import the entire kdsutil module first, to properly set the local variables.

from kdslib import kdsutil

The main class can be instantiated like this: loggingutil = kdsutil.Generate_Logger(**kwargs)

The class variables can be accessed in this format: loggingutil.logger.info('Hello World')

The class methods can be accessed in this format: loggingutil.log_info('Hello World')

########################################################################################################################

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

kdslib-1.0.1.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

kdslib-1.0.1-py3-none-any.whl (10.1 kB view hashes)

Uploaded Python 3

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