Conversation
- Adds atom-based log adapter configuration (:elixir, :internal, :test, :silent) - Adds metadata_fields/0 function to LogManager for centralized field definitions - Adds environment-aware logging defaults (trace in dev, debug in test, info in prod) - Adds enhanced debugging logs throughout transition resolution and action execution - Adds comprehensive trace logging for transition evaluation, condition checking, and state changes - Adds better error context logging for failed conditions and expression evaluations - Fixes ElixirLoggerAdapter to support :trace level by mapping to :debug - Fixes TransitionResolver to return state chart tuples for proper logging threading - Fixes credo issues by extracting helper functions to reduce complexity and nesting - Adds config/config.exs for environment-specific Logger configuration - Updates CLAUDE.md with comprehensive debugging configuration examples 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Converts all LogManager level functions (trace, debug, info, warn, error) to macros - Adds lazy evaluation for optimal performance - arguments only evaluated when logging is enabled - Adds zero overhead when logging is disabled through early bailout - Maintains familiar LogManager.level/3 API while providing significant performance benefits - Adds bind_quoted macro implementation for proper variable scoping - Adds require LogManager statements to all consuming modules for macro usage - Removes manual LogManager.enabled? checks since macros handle this automatically - Removes @SPEC declarations from macro functions to fix dialyzer warnings - Updates CLAUDE.md with performance optimization documentation and examples - Maintains all existing functionality while providing hot path performance improvements 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Converts logging functions to performance-optimized macros
Enhances logging system with improved ergonomics and debugging
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com