bpo-33606: improve logging performance when logger is disabled (GH-7285)
A check has been added in Logger.isEnabledFor() to return False when the logger is disabled. This avoids unnecessary work being done when a disabled logger is used.
T
Timo Furrer committed
6e3ca645e71dd021fead5a70dc06d9b663612e3a
Parent: 9e24930
Committed by Vinay Sajip <vinay_sajip@yahoo.co.uk>
on 6/1/2018, 7:29:46 AM