prettier logging