This function decides whether or not to print a message, dependent on the
global verbose level and the specific level of the message. If the specific
level is larger than the global level, the message is suppresed; otherwise
it is printed. see the details section for an example.
Suppose the global verbose level is set to 5, and two messages have
levels of 1 and 7 repsectively. Since 1 suggests a
low-threshold of being verbose, the first message is printed; whereas the
message of level 7 is only printed when the program should run in a
more verbose way (7,8,9,…{}), it is suppressed in the current
global verbose level.