Added C++ function to set log level

6 jobs for 5-disable-logging-messages-in-pure-c-code in 13 minutes and 1 second (queued for 2 seconds)