Add sample usage to doxygen in logging + small fix