#pragma once #include void log(const char* msg); void log(std::string msg); void log(char*, int len); void flush(const char* filepath); void start_auto_flush_thread(const char* filepath, double period); void start_auto_flush_thread();