Message22059
Logged In: YES
user_id=308438
Yes, that's the way it's supposed to work - the map works
both ways, allowing the mapping of names to levels as well
as levels to names. This is because both types of mapping
are needed in the package, and it makes sense to reuse the
dictionary rather than have two separate dictionaries.
In your example, you are calling setLevel with a string
argument [newLoglevel.upper ()], which is incorrect.
I will clarify the setLevel() documentation to point out
that the level passed to setLevel() is an integer. |
|
Date |
User |
Action |
Args |
2007-08-23 14:25:06 | admin | link | issue1008295 messages |
2007-08-23 14:25:06 | admin | create | |
|