Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 505 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 505 Bytes

glogger

A python library for logging loguru messages straight to a gelf instance, for example Sematext via HTTP

Install glogger

Simply install it via pip: pip install glogger and add to your requirements.txt: glogger==1.0.0

Getting started

Make sure the following environment variables have been set: ENVIRONMENT, LOGGING_URL and LOG_FACILITY

from glogger import logger

logger.info('go')
logger.bind(custom='field').info('yay')