A log review tool using tcp socket, with thread safe, send queue, and multi reviewer support.
It can be used in most platform include android/ios, and only C++11 are required.
SocketLog::getInstance()->post("Hello World!");
First, you should build my examples:
mkdir build && cd build
cmake ..
make
Second, run a simple example:
./examples/loopsender
or more complicated:
./examples/benchmark
Finally, just open any tcp tools(eg:nc) to see what happen:
nc localhost 6666
default port is 6666, and will try open bigger port automatic on bind failed。