This question already has an answer here:
I would like to print a warning/error message from my own module. Of course I could use
Print["WARNING: my warning"] but in all the output this would be barely visible. Ideally my user defined message would appear in the same style as those produced by Mathematica built-in functions.