-
Notifications
You must be signed in to change notification settings - Fork 237
Description
Is your feature request related to a problem? Please describe.
During the installation process, while there's a format that's repeated (i.e [EAF] prepended to installer-related logs), it's not consistent throughout all eaf-related logs. Leading to places where we log eaf-related errors yet make no indication this error is related to eaf itself which is confusing (e.g the "Error:" pattern with a plain print is commonly repeated).
There's also no difference between errors/warn/info for users, either in terms of formatting and color.
Describe the solution you'd like
- A consistent structure for the eaf-installer' stdout messages (info,warn,success,error) including coloring, structure that differentiates them.
Describe alternatives you've considered
None.
Additional context
I'd love to take these on personally, if the maintainers are okay with these proposals. I'm thinking of the following changes
- Add functions for error, warn, info, success with their respective format and colors and refactor existing print() statements with them.
Let me know what you think.