The static
member variable must be defined (exactly once), that is only a declaration within the class defintion. In exactly one .cpp
file add:
std::string Logger::logs[Logger::maxLogs];
Suggest reading Why is "using namespace std" considered bad practice?