Print console.warn in yellow, and console.error in red