Better to use a logger?