logger usage example