@@ -674,35 +674,3 @@ def _apply_logger_filters(
674674
675675 log_filter = GeneralLogFilter (filtered_routes )
676676 logger .addFilter (log_filter )
677-
678-
679- # Alias for backward compatibility and simpler API
680- async_logging_context = setup_async_loggers
681-
682- # =============================================================================
683- # SUMMARY: ASYNC LOGGING REFACTORING COMPLETED
684- # =============================================================================
685- #
686- # This module now provides robust, non-blocking async logging infrastructure with:
687- #
688- # 1. CORE FEATURES:
689- # - Unlimited queue size (no more queue.Full errors)
690- # - Proper context manager-based lifecycle management
691- # - Clean separation of sync and async logging setup
692- #
693- # 2. API OPTIONS:
694- # - setup_async_loggers(): Async context manager for non-blocking logging
695- # - async_logging_context: Alias for backward compatibility
696- # - config_all_loggers(): Original synchronous setup (unchanged)
697- #
698- # 3. BEST PRACTICES IMPLEMENTED:
699- # - No global state (context manager based)
700- # - Proper resource cleanup
701- # - SuperFastPython async logging patterns
702- # - Thread-safe queue operations
703- # - Backward compatibility maintained
704- #
705- # Usage examples available in:
706- # - async_logging_example_new.py (basic async logging)
707- #
708- # =============================================================================
0 commit comments