Simple code example of consologger