/django_loggers_test

A simple tester of Django's loggers' configuration

Primary LanguagePython

Django Loggers Test

A simple tester of Django's loggers' configuration.

Screenshot

Content

  1. Installation
  2. Usage

Installation

The easiest way to get this is from PyPI:

pip install django_loggers_test

Usage

Run your project's shell (python manage.py shell), and then

>>> from django_loggers_test import loggers_test
>>> loggers_test()

This will log messages to the console, using all available formatters and levels. There isn't really much more to it, apart from minor configurability. For details, run

>>> help(loggers_test)