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 committed Jun 21, 2023
1 parent 508e4bd commit 8f9af29
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README_BUILD.md
Original file line number Diff line number Diff line change
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 | Error : Print errors |
| | Warning : Increase to print warnings |
| | Info : Increase to print info |
| | Debug : Debug messages (very verbose) |

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

Expand Down

0 comments on commit 8f9af29

Please sign in to comment.