aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@iki.fi>2017-02-12 18:09:03 +0200
committerOskari Timperi <oskari.timperi@iki.fi>2017-02-12 18:09:03 +0200
commite9a30435c2e419f76b64d2976342a036537d9f50 (patch)
tree19e7bd2f96ad2064e987554fd268c9d42962f9b8 /README.md
parentf4d155ebdf5eccb02c96ac26b8a8d90c80722a12 (diff)
downloadmqtt-e9a30435c2e419f76b64d2976342a036537d9f50.tar.gz
mqtt-e9a30435c2e419f76b64d2976342a036537d9f50.zip
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 14 insertions, 2 deletions
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 `<project_root>/amalgamation` directory.
+Now the amalgamation (`mqtt.c` and `mqtt.h`) is found in
+`<project_root>/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.