add example how to set log level

Signed-off-by: Steven Armstrong <steven.armstrong@id.ethz.ch>