Added logging example.