added some info about logging to example