Added log level example code. For #6