Antoine Pitrou pitrou.net> writes:
> I'm not a logging expert, but the fact that your description above
> mentions at least two instances of special-casing make it sound like
> the API has an usability (or learnability) problem.
Well, basicConfig() was provided to make it as easy as possible to
Terry Reedy wrote:
> I am bothered by mutually exclusive parameters. This is one reason I was
> glad to see cmp eliminated from list.sort. Quick: what happens if one
> passes both cmp and key to list.sort? There are three reasonable
> possibilities. As far as I can read, the answer is not documen
On 3/29/2011 12:35 PM, Vinay Sajip wrote:
I'm planning a change to logging.basicConfig to add an optional "handlers"
keyword argument which defaults to None.
If specified, this should be an iterable of already created handlers, which will
be added to the root logger (if it doesn't already have a
On Tue, 29 Mar 2011 16:35:08 + (UTC)
Vinay Sajip wrote:
> I'm planning a change to logging.basicConfig to add an optional "handlers"
> keyword argument which defaults to None.
>
> If specified, this should be an iterable of already created handlers, which
> will
> be added to the root logger
I'm planning a change to logging.basicConfig to add an optional "handlers"
keyword argument which defaults to None.
If specified, this should be an iterable of already created handlers, which will
be added to the root logger (if it doesn't already have any handlers). Any
handler in the iterable wh