Skip to content

fino-digital/glogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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