You can use

if (LogLeve() >= OLA_LOG_INFO) { 
  ...
}