On Fri, Sep 18, 2009 at 11:08 AM, Masklinn <maskl...@masklinn.net> wrote:
> > Isn't that what logging.basicConfig does? > > Allows you to log to either a file or a custom stream, specify your logging > format, and sets up the logging level in a single call. Except that it will only configure the root logger. I was thinking about an api that would return a new logger (or reconfigure one that exists and return it) Notice that looking at this function code, it wouldn't be too far from what I would like to have. e.g: create_logger(name, level=logging.INFO, stream=sys.stdout, filename=None) -> logger _______________________________________________ stdlib-sig mailing list stdlib-sig@python.org http://mail.python.org/mailman/listinfo/stdlib-sig