log CHANGE make only error messages available via ly_errmsg()
log CHANGE make only error messages available via ly_errmsg()

debug or verbose messages could rewrite more important error message
so it got lost for later access via ly_errmsg(). To be consistent
with ly_errmsg() description, the error messages are now stored
separately and they cannot be rewritten by any following warning,
verbose or debug message.

PavolVican/libyang,lukasmacko/libyang,PavolVican/libyang,lukasmacko/libyang,PavolVican/libyang,PavolVican/libyang,PavolVican/libyang