silenced browser logging output for logLevels LOG_INFO and LOG_DEBUG

clarified if statement logic