Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Added Logger utility #249

Merged

Conversation

vincius0000
Copy link
Contributor

This PR solves issue with print() being used in Production code. A logger utility has been created which checks if app is in debug mode and only then executes print() method.

Reference #229

@vincius0000
Copy link
Contributor Author

I've realized now that I can skip the .toString() part in logger.dart as it's automatically done like so already. This can be adjusted at any time.

@enrique-lozano
Copy link
Owner

Great! Thank you

@enrique-lozano enrique-lozano merged commit fb6b829 into enrique-lozano:develop Nov 12, 2024
@vincius0000 vincius0000 deleted the feature/logger-util branch November 12, 2024 14:38
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.

2 participants