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.

Source Distribution

gfa_logging-1.0.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distributions

gfa_logging-1.0-py3.6.egg (6.4 kB view hashes)

Uploaded Source

gfa_logging-1.0-py3-none-any.whl (15.9 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