Skip to content

A log review tool using tcp socket, with thread safe, send queue, and multi reviewer support.

Notifications You must be signed in to change notification settings

shuai132/SocketLog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SocketLog

Build Status

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.

Usage:

SocketLog::getInstance()->post("Hello World!");

There are also some examples show how to use it:

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

Notice:

default port is 6666, and will try open bigger port automatic on bind failed。

About

A log review tool using tcp socket, with thread safe, send queue, and multi reviewer support.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published