Skip to content

Commit

Permalink
README_BUILD: Add LOG_LEVEL to the doc
Browse files Browse the repository at this point in the history
LOG_LEVEL was not in the doc, so add it.

Signed-off-by: Robin Getz <rgetz@mathworks.com>
  • Loading branch information
rgetz authored and pcercuei committed Jun 22, 2023
1 parent cb3bcf6 commit 1032c82
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README_BUILD.md
Expand Up @@ -81,6 +81,19 @@ Cmake Options | Default | Description |
`WITH_NETWORK_GET_BUFFER` | OFF | Enable experimental zero-copy transfers |
`WITH_ZSTD` | OFF | Support for ZSTD compressed metadata |

Developer options, which either increases verbosity, or decreases size. It can
be useful to keep track of things when you are developing with libiio to print
out warnings, to better understand what is going on. Most users should leave it
at 'Error' and Embedded Developers are free to set it to 'NoLog' to save space.
this is invoked as "-DLOG_LEVEL=Debug".

Cmake Options | Default | Description |
----------------- | ------- | ---------------------------------------------- |
| | NoLog : Remove all warning/error messages |
LOG_LEVEL | | Error : Print errors only |
| | Warning : Print warnings and errors |
| Info | Info : Print info, warnings and errors |
| | Debug : Print debug/info/warnings/errors (very verbose) |

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

Expand Down

0 comments on commit 1032c82

Please sign in to comment.