From e9a30435c2e419f76b64d2976342a036537d9f50 Mon Sep 17 00:00:00 2001 From: Oskari Timperi Date: Sun, 12 Feb 2017 18:09:03 +0200 Subject: Update README.md --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 54c35f1..68da4b0 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,20 @@ Execute in the build directory you created above: $ cmake -DMQTT_AMALGAMATE=ON . $ make amalgamate -Now the amalgamation (`mqtt.c` and `mqtt.h`) is found in `/amalgamation` directory. +Now the amalgamation (`mqtt.c` and `mqtt.h`) is found in +`/amalgamation` directory. + +# Dumping sent/received data + +Define `STREAM_HEXDUMP_READ` and `STREAM_HEXDUMP_WRITE` to make the library dump +read or written written data respectively to stdout. Nice for debugging. + +# Logging + +Define `LOG_LEVEL` to one of `DEBUG`, `INFO`, `WARNING` or `ERROR` to make the +library output logging information. # Tools -There are publish/subscribe tools included in the `tools` directory and they are built by default. +There are publish/subscribe tools included in the `tools` directory and they are +built by default. -- cgit v1.2.3