better logger for console