Sometimes, I need to output some warning message to users, there will be several messages, if I use the message box, it's unfriendly, so ,I want output all warning message in the command prompt, but it's not marked.,but I don't know how to set the color.
For example, the message show in the command prompt will be like below:
Warning:
xxxx xxx xxx xxx .............
What's the usual way of output the error, warning or exception, Any help much appreciated.
Solved! Go to Solution.
Solved by mzakiralam. Go to Solution.
Thanks for your help. Maybe I should try some others ways to output warning.