Chapter 3: Enhancing Logging Code

A More Feature-rich Logging System

Previous chapters have resulted in a minimal logging client-server pair that may work for some applications. They are certainly simple enough to try.

More advanced programmers can even use these two programs as routines in their own code.

The log_cmd_basic offers code trivial to use. Just remember to create the context, then a socket in the mainline. Then pass the socket to other routines where it is needed.

Continue reading
Posted in 0MQ, arduino, IoT, linux, messaging, networking, python, raspberry pi, RaspberryPi, raspbian, software, software development, techniques, test, testing, Uncategorized, unittest, zeromq, zmq | Leave a comment