MCPcopy Create free account
hub / github.com/YACReader/yacreader / logSystemAndConfig

Function logSystemAndConfig

YACReaderLibraryServer/main.cpp:463–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461}
462
463void logSystemAndConfig()
464{
465 QLOG_INFO() << "---------- System & configuration ----------";
466 auto globalInfo = YACReader::getGlobalInfo();
467 for (const auto &line : globalInfo.split("\n")) {
468 QLOG_INFO() << line;
469 }
470
471 auto libraries = DBHelper::getLibraries().getLibraries();
472 QLOG_INFO() << "Libraries: ";
473 for (auto library : libraries) {
474 QLOG_INFO() << " " << library;
475 auto access = DataBaseManagement::getDatabaseAccess(library.getPath());
476 QLOG_INFO() << " > STATUS: " << access;
477 }
478 QLOG_INFO() << "--------------------------------------------";
479}
480
481void printServerInfo(YACReaderHttpServer *httpServer)
482{

Callers 2

startFunction · 0.85
mainFunction · 0.85

Calls 3

splitMethod · 0.80
getPathMethod · 0.80
getLibrariesMethod · 0.45

Tested by

no test coverage detected