Added logging example