add logger example.