adding example of logger