#include "logger.hpp" Logger::Logger() { if(pthread_create(&thread_handle, NULL, _static_run, this) != 0) { std::cout << "failed to ctrate logger tast!" <(arg)->_run(); }