Skip to content

Conversation

@devanshkv
Copy link
Collaborator

Summary

This PR adds comprehensive logging infrastructure across all core modules to improve debugging and monitoring capabilities.

Changes

  • Added structured logging with configurable levels
  • Integrated logging across solver, condition, and utility modules
  • Enhanced error tracking and performance monitoring

Closes #22

- Add module-specific loggers to conditions, generators, losses, monitors, networks, ode, operators, pde, solvers, and utils
- Implement debug-level logging for performance metrics (loss values, gradient norms)
- Add info-level logging for initialization and training progress
- Include error logging for exception handling in critical operations
- Log solver training epochs with periodic progress updates
- Track best model improvements during training

This enables better debugging, monitoring, and understanding of the library's behavior during runtime.
@devanshkv devanshkv requested a review from shuheng-liu July 27, 2025 14:58
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.

added logging

2 participants