Added logging examples.