Example code for using NSLogger