[Client] Write list of loaded plugins to log

0.6.1
David Cernat 8 years ago
parent 77758596a1
commit 7d81b84dd8

@ -332,7 +332,7 @@ void Networking::preInit(std::vector<std::string> &content, Files::Collections &
hashList.push_back(crc32);
checksums.push_back(make_pair(*it, hashList));
printf("idx: %d\tchecksum: %X\tfile: %s\n", idx, crc32, col.getPath(*it).string().c_str());
LOG_APPEND(Log::LOG_WARN, "idx: %d\tchecksum: %X\tfile: %s\n", idx, crc32, col.getPath(*it).string().c_str());
}
else
throw std::runtime_error("Plugin doesn't exist.");

Loading…
Cancel
Save