Simple console.log replacement