Skip to content

A python wrapper that handles web logging, standard application logging to different format: json (gelf), colored text, raw, gnome notifications

License

Notifications You must be signed in to change notification settings

JayBeeDe/pylogger-unified

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pylogger_unified

A python wrapper that handles web logging, standard application logging to different format: json (gelf), colored text, raw, gnome notifications

Build manually (testing env for the moment)

Install testing envrionment here: https://packaging.python.org/en/latest/tutorials/packaging-projects/.

cd pylogger-unified/
rm ./dist/* -fr
python3 -m build
python3 -m twine upload --repository testpypi ./dist/*

You can test in a dev environment the packaging:

pip3 install -i https://test.pypi.org/simple/ pylogger_unified

When everything is ok on testpypi repo, you can publish it to prod:

python3 -m twine upload ./dist/*

Install the lib

pip3 install pylogger-unified

Start Using the lib

from pylogger_unified import logger as pylogger_unified
logger=pylogger_unified.init_logger()
logger.info("this is a test")

About

A python wrapper that handles web logging, standard application logging to different format: json (gelf), colored text, raw, gnome notifications

Resources

License

Stars

Watchers

Forks

Languages