Set verbosity of growR output.
Examples
# At level 3, only one of the three following messages are printed.
set_growR_verbosity(3)
logger("Message on level 5.", level = 5)
#> NULL
logger("Message on level 4.", level = 4)
#> NULL
logger("Message on level 3.", level = 3)
#> [INFO]Message on level 3.
# At level 5, all three are printed.
set_growR_verbosity(5)
logger("Message on level 5.", level = 5)
#> [TRACE]Message on level 5.
logger("Message on level 4.", level = 4)
#> [DEBUG]Message on level 4.
logger("Message on level 3.", level = 3)
#> [INFO]Message on level 3.
# Reset to default.
set_growR_verbosity()