Add missing return type annotations to LogRecordProcessor and LoggerProvider by joshwilhelmi · Pull Request #5008 · open-telemetry/opentelemetry-python
…rovider The abstract `LogRecordProcessor.on_emit()` and `shutdown()` methods, `ConcurrentMultiLogRecordProcessor.on_emit()` and `shutdown()`, and `LoggerProvider.shutdown()` were missing `-> None` return type annotations. This causes mypy `no-untyped-call` errors for callers using strict type checking. The sibling classes (`MultiLogRecordProcessor`, `TracerProvider`) already have correct annotations — this aligns the logs module to match.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters