An alert function for console.