Skip to content

Conversation

@privateip
Copy link
Member

  • Replace manual trace() calls with @trace decorator pattern
  • Add automatic entry/exit logging with → and ← symbols
  • Include execution time measurement in milliseconds (using time.perf_counter)
  • Support both synchronous and asynchronous functions automatically
  • Track exception exits with timing information
  • Update all modules to use decorator pattern (connection, exceptions, platform, gateway, http, jsonutils)
  • Add comprehensive tests for decorator behavior including async and exception handling
  • Update development documentation with detailed trace decorator usage guide
  • Fix test code linting issues (line length, imports, exception handling)

@privateip privateip requested a review from a team as a code owner December 12, 2025 11:35
…on timing

- Replace manual trace() calls with @trace decorator pattern
- Add automatic entry/exit logging with → and ← symbols
- Include execution time measurement in milliseconds (using time.perf_counter)
- Support both synchronous and asynchronous functions automatically
- Track exception exits with timing information
- Update all modules to use decorator pattern (connection, exceptions, platform, gateway, http, jsonutils)
- Add comprehensive tests for decorator behavior including async and exception handling
- Update development documentation with detailed trace decorator usage guide
- Fix test code linting issues (line length, imports, exception handling)
@privateip privateip merged commit 299fb2c into itential:devel Dec 12, 2025
4 checks passed
@privateip privateip deleted the refactor-trace branch December 17, 2025 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant