Вы объявили static string theString;, но не определили его.
static string theString;
Включить
string Log::theString;
в ваш файл cpp
cpp