Open Noah2610 opened 4 years ago
I print a lot of warnings throughout the app, especially when it comes to entity config stuff. I always write it like this:
eprintln!("[WARNING]\n This is a warning!");
I should just create a helper function for printing warning messages, so I can guarantee the same formatting for warning messages.
Ideally this would be a macro, and not a function. Would be a good chance to learn how to write macros.
I print a lot of warnings throughout the app, especially when it comes to entity config stuff. I always write it like this:
I should just create a helper function for printing warning messages, so I can guarantee the same formatting for warning messages.
Ideally this would be a macro, and not a function. Would be a good chance to learn how to write macros.