simple example of console logger