encfs/vendor/github.com/muflihun/easyloggingpp/samples/send-to-network/README.md
2020-03-03 21:53:48 +01:00

687 B

Send to Network

You can use this sample to send your log messages to network as requested by many users. We are not able to add it to the library as this will require some stuffs to choose what network library to use.

This sample uses boost::asio

Run

Compile using compile.sh file but make sure you have correct path to boost include and compiled library

mkdir bin
sh compile.sh network-logger.sh

Run a server (we are using netcat on mac for demo) on a new tab in your terminal

nc -k -l 9090

Now run ./bin/network-logger

More

Please refer to doc for further details on macros