[Python-Dev] Re: [Python-checkins] python/dist/src/Doc/whatsnew whatsnew24.tex, 1.62, 1.63 (original) (raw)
Guido van Rossum guido at python.org
Wed Jul 7 17:44:24 CEST 2004
- Previous message: [Python-Dev] file() or open()?
- Next message: [Python-Dev] 2.4a1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
+ \item A \function{basicConfig} function was added to the + \module{logging} package to simplify log configuration. It defaults + to logging to standard error, but a + number of optional keyword arguments can be specified to + log to a particular file, change the logging format, or set the + logging level. For example:
Actually, basicConfig() always existed; the news is that it now takes arguments.
--Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] file() or open()?
- Next message: [Python-Dev] 2.4a1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]