Skip to main content

This library provide a logging class to record data or debug your application

Project description

This library provide a logging class to record data or debug your application.

To install:

python3 setup.py

Usage example for two loggers:

from gfa_logging import MsgLogger

msg_logger = MsgLogger()
data_logger = MsgLogger(name='data_logger', file_name='data.csv',
                        header="sensorID,value,timestamp")

msg_logger.logger.info('_____ Started _____')
data_logger.logger.info("281868,28.5,1540476278")

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Files for gfa-logging, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size gfa_logging-1.0-py3.6.egg (6.4 kB) File type Egg Python version 3.6 Upload date Hashes View
Filename, size gfa_logging-1.0-py3-none-any.whl (15.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size gfa_logging-1.0.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page