]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Resource.cc
stream-based logging classes
[chaz/yoink] / src / Moof / Resource.cc
index 6f09601bf0d36d07f0dc820523e388ed13334868..ff4213ec7d3e04e877704a949313f72f00df2e84 100644 (file)
@@ -78,7 +78,7 @@ std::string Resource::getPath(const std::string& name)
                if (access(fullPath.c_str(), R_OK) == 0) return fullPath;
        }
 
-       logWarning("cannot find resource %s", name.c_str());
+       logWarning << "cannot find resource " << name << std::endl;
 
        // empty string
        return std::string();
This page took 0.021986 seconds and 4 git commands to generate.