v.25.1Performance Improvement

Use Log Wrappers by Value Instead of Heap Allocation

Use log wrappers by value and don't allocate them in a heap. #74034 (Mikhail Artemenko).