log CHANGE provide previous verbosity level when setting up new one
diff --git a/src/libyang.h.in b/src/libyang.h.in
index 37c46b8..2b7eff8 100644
--- a/src/libyang.h.in
+++ b/src/libyang.h.in
@@ -1572,8 +1572,9 @@
 /**
  * @brief Set logger verbosity level.
  * @param[in] level Verbosity level.
+ * @return Previous verbosity level.
  */
-void ly_verb(LY_LOG_LEVEL level);
+LY_LOG_LEVEL ly_verb(LY_LOG_LEVEL level);
 
 #ifndef NDEBUG