Skip to content

Commit 3e49e0f

Browse files
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

File tree

1 file changed

+271
-119
lines changed

1 file changed

+271
-119
lines changed

0 commit comments

Comments
 (0)