ANN: easylog

Discussion in 'Python' started by Jim Jewett, Apr 6, 2004.

  1. Jim Jewett

    Jim Jewett Guest

    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 .





    <P><A HREF="http://sourceforge.net/projects/easylog/">easylog 0.2.0</A>
    works with the standard logging package to minimize logging-specific
    code in your application.. (05-04-04)
    Jim Jewett, Apr 6, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike Sampson [MSFT]

    [ANN]: NNTP Server slow downs.

    Mike Sampson [MSFT], Oct 7, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    401
    Mike Sampson [MSFT]
    Oct 7, 2003
  2. Mike Sampson [MSFT]

    [ANN]: NNTP Server slow downs.

    Mike Sampson [MSFT], Dec 6, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    485
    Mike Sampson [MSFT]
    Dec 6, 2003
  3. Richard Grimes [MVP]

    ANN: Free .NET Workshops

    Richard Grimes [MVP], Jul 4, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    496
    Richard Grimes [MVP]
    Jul 4, 2005
  4. Tom Hawkins

    [ANN] Confluence 0.7.1 Released

    Tom Hawkins, Oct 23, 2003, in forum: VHDL
    Replies:
    0
    Views:
    485
    Tom Hawkins
    Oct 23, 2003
  5. Michael Livsey
    Replies:
    3
    Views:
    400
    Michael Livsey
    May 27, 2004
Loading...

Share This Page