weboob.tools.log: getLogger creates children for LoggerAdapter too
LoggerAdapter are Logger wrappers preconfiguring them for logging contextual info without creating additional Logger objects. Because the latter are not garbage-collected, it should be avoided to create a variable number, while LoggerAdapters are lightweight.
parent
1fa8d6da
Please register or sign in to comment