You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comprehensive logging system to eliminate unwanted console output (Issue #84) (#86)
* feat: Add comprehensive logging system to replace console output
- Add fortplot_logging module with configurable log levels (SILENT, ERROR, WARNING, INFO, DEBUG)
- Replace all print statements with appropriate log calls
- Export logging interface through main fortplot module for user control
- Default to WARNING level (errors and warnings only)
- Users can set LOG_LEVEL_SILENT for production use with zero console output
**Affected files:**
- fortplot.f90: Replace error messages for unimplemented features
- fortplot_png.f90: Replace compression failure and success messages
- fortplot_pdf.f90: Replace file creation success message
- fortplot_text.f90: Replace STB TrueType initialization errors
- fortplot_animation.f90: Replace all animation progress and error messages
- fortplot_gltf.f90: Replace GLTF/GLB file creation messages
- fortplot_figure_core.f90: Replace user interaction prompts and warnings
- fortplot_raster.f90: Replace backend usage error
- fortplot_ascii.f90: Replace file save confirmation message
**User Interface:**
- call set_log_level(LOG_LEVEL_SILENT) for production apps with zero output
- call set_log_level(LOG_LEVEL_INFO) for verbose operation
- call set_log_level(LOG_LEVEL_DEBUG) for maximum verbosity
Fixes#84
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: resolve critical CI failures blocking PR merges
- Fix line length violation in fortplot_figure_core.f90 (132 chars -> 88 char limit)
- Restore CMakeLists.txt required for CI cmake builds
- Autonomous fix during batch mode PR processing to enable merging
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments