This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

easylog works with the standard logging package to minimize logging-specific code in your own application or script.

Project Description

The standard library logging package is very powerful, but does not scale down well.

Any configuration – even just saving messages to a file rather than the console – requires a fair amount of setup or glue code.

easylog wraps the standard library, to minimize the amount of logging-specific code in your own script or application.

>>> from easylog import critical, error, warning, debug, info
>>> debug("getFoo requesting %d %s", 42, "answers")
>>> error("getFoo says %d of those %s are lousy!", 19, "answers")
ERROR:easylog.easylog:getFoo says 19 of those answers are lousy!

Both messages are captured in the logfile, but only the error is shown onscreen.

If you want to change the logfile name/which messages are captured/the output format, etc, you can do that with a single call.

Alpha version 0.2.0 is available under the Python Software Foundation License at http://sourceforge.net/projects/easylog/

Please send comments to JimJJewett@yahoo.com.

Release History

Release History

This version
History Node

0.2.0 alpha

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting