Description Usage Arguments Details Value Author(s) Examples
The verbose level can be represented by non-negative integers. The larger the number is, the more verbose is the program: it prints then more messages for users' information.
1 |
... |
Messages to be printed, will be passed to the |
global |
Integer, the global verbose level |
this |
Integer, the verbose level of this message |
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.
The function is used for its side effect by printing messages.
Jitao David Zhang <jitao_david.zhang@roche.com>
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.