Implement logging example