Changeset 1858
- Timestamp:
- 06/19/10 11:31:27 (2 years ago)
- Files:
-
- trunk/libffado/src/libutil/Configuration.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/src/libutil/Configuration.cpp
r1763 r1858 238 238 if(t == Setting::TypeInt) { 239 239 ref = *s; 240 debugOutput(DEBUG_LEVEL_VER BOSE, "path '%s' has value %d\n", path.c_str(), ref);240 debugOutput(DEBUG_LEVEL_VERY_VERBOSE, "path '%s' has value %d\n", path.c_str(), ref); 241 241 return true; 242 242 } else { 243 debug Output(DEBUG_LEVEL_VERBOSE,"path '%s' has wrong type\n", path.c_str());243 debugWarning("path '%s' has wrong type\n", path.c_str()); 244 244 return false; 245 245 } 246 246 } else { 247 debugOutput(DEBUG_LEVEL_VER BOSE, "path '%s' not found\n", path.c_str());247 debugOutput(DEBUG_LEVEL_VERY_VERBOSE, "path '%s' not found\n", path.c_str()); 248 248 return false; 249 249 } … … 259 259 if(t == Setting::TypeInt64) { 260 260 ref = *s; 261 debugOutput(DEBUG_LEVEL_VER BOSE, "path '%s' has value %"PRId64"\n", path.c_str(), ref);261 debugOutput(DEBUG_LEVEL_VERY_VERBOSE, "path '%s' has value %"PRId64"\n", path.c_str(), ref); 262 262 return true; 263 263 } else { 264 debug Output(DEBUG_LEVEL_VERBOSE,"path '%s' has wrong type\n", path.c_str());264 debugWarning("path '%s' has wrong type\n", path.c_str()); 265 265 return false; 266 266 } 267 267 } else { 268 debugOutput(DEBUG_LEVEL_VER BOSE, "path '%s' not found\n", path.c_str());268 debugOutput(DEBUG_LEVEL_VERY_VERBOSE, "path '%s' not found\n", path.c_str()); 269 269 return false; 270 270 } … … 280 280 if(t == Setting::TypeFloat) { 281 281 ref = *s; 282 debugOutput(DEBUG_LEVEL_VER BOSE, "path '%s' has value %f\n", path.c_str(), ref);282 debugOutput(DEBUG_LEVEL_VERY_VERBOSE, "path '%s' has value %f\n", path.c_str(), ref); 283 283 return true; 284 284 } else { 285 debug Output(DEBUG_LEVEL_VERBOSE,"path '%s' has wrong type\n", path.c_str());285 debugWarning("path '%s' has wrong type\n", path.c_str()); 286 286 return false; 287 287 } 288 288 } else { 289 debugOutput(DEBUG_LEVEL_VER BOSE, "path '%s' not found\n", path.c_str());289 debugOutput(DEBUG_LEVEL_VERY_VERBOSE, "path '%s' not found\n", path.c_str()); 290 290 return false; 291 291 } … … 304 304 return &s; 305 305 } catch (...) { 306 debugOutput(DEBUG_LEVEL_VER BOSE, " %s has no setting %s\n",306 debugOutput(DEBUG_LEVEL_VERY_VERBOSE, " %s has no setting %s\n", 307 307 c->getName().c_str(), path.c_str()); 308 308 }
