Skip to content

Commit 1032c82

Browse files
rgetzpcercuei
authored andcommitted
README_BUILD: Add LOG_LEVEL to the doc
LOG_LEVEL was not in the doc, so add it. Signed-off-by: Robin Getz <rgetz@mathworks.com>
1 parent cb3bcf6 commit 1032c82

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README_BUILD.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,19 @@ Cmake Options | Default | Description |
8181
`WITH_NETWORK_GET_BUFFER` | OFF | Enable experimental zero-copy transfers |
8282
`WITH_ZSTD` | OFF | Support for ZSTD compressed metadata |
8383

84+
Developer options, which either increases verbosity, or decreases size. It can
85+
be useful to keep track of things when you are developing with libiio to print
86+
out warnings, to better understand what is going on. Most users should leave it
87+
at 'Error' and Embedded Developers are free to set it to 'NoLog' to save space.
88+
this is invoked as "-DLOG_LEVEL=Debug".
89+
90+
Cmake Options | Default | Description |
91+
----------------- | ------- | ---------------------------------------------- |
92+
| | NoLog : Remove all warning/error messages |
93+
LOG_LEVEL | | Error : Print errors only |
94+
| | Warning : Print warnings and errors |
95+
| Info | Info : Print info, warnings and errors |
96+
| | Debug : Print debug/info/warnings/errors (very verbose) |
8497

8598
Options which effect iiod only. These are only available on Linux.
8699

0 commit comments

Comments
 (0)