example of logger