Loghacks is a project mainly written in Python, based on the GPL-3.0 license.
python logging utility aimed at django projects, provides extra logging functionality
= loghacks - custom logging package for django =
A custom logging package that provides extra logging functionality.
The idea of this module is to make Django logging (specifically) much easier.
It detects if we have a controlling terminal and in the event of a non-controlling terminal, SyslogHandler is used, else one of the default handlers - usually StreamHandler is used.
== Usage ==
{{{
import logging import loghacks loghacks.handlerchooser("DJANGO", make_default=True) }}}