implement console pretty logging