extend the sample to show preview of console and binary loggers