Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.

Metadata

Release history Release notifications | RSS feed

This release

0.2.0 alpha This release

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page