first: include this file in your project
do logs first by:
#include "log.h"
you can do logs like:
Log::begin() << "something you want write" << 33 << Log::end();
or use macro
LogFunc("something you want write" << 33)
you can get your log file in local working path
for more information, Read these codes