I don't know, maybe this issue already was discussed.
In hierarchial category when node priority is NOTSET, to define priority need look through all NOTSET priority in hierarchy.
e.g.
root - INFO
a1 - NOTSET
a1.b1 - NOTSET
a1.b1.c1 - NOTSET
a1.b1.c1.log ("log") - we invoke 6 virtual functions - 3 - getParent and 3 getPriority. Each log!
What about a caching?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I don't know, maybe this issue already was discussed.
In hierarchial category when node priority is NOTSET, to define priority need look through all NOTSET priority in hierarchy.
e.g.
root - INFO
a1 - NOTSET
a1.b1 - NOTSET
a1.b1.c1 - NOTSET
a1.b1.c1.log ("log") - we invoke 6 virtual functions - 3 - getParent and 3 getPriority. Each log!
What about a caching?