Adding setLogLevelThreshold method.