Commit 3e49e0f
committed
feat(tracer): enhance tracing functionality with helper methods for input extraction and logging finalization
- Introduced `_extract_function_inputs` to streamline input extraction for logging.
- Added `_finalize_step_logging` to encapsulate step timing and logging logic.
- Implemented `_handle_trace_completion` for improved trace completion handling.
- Enhanced `trace_async` decorator to support both async functions and async generators with optimized logging.
- Refactored existing tracing logic to utilize new helper functions for better maintainability and readability.1 parent f4feadf commit 3e49e0f
1 file changed
Lines changed: 271 additions & 119 deletions
0 commit comments