Skip to content

UMONS-GFA/gfa_logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GFA Logging

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

To install

With pip:

pip3 install gfa-logging

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")

About

Python library to record data or debug your application

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages