match Node.js' console.log/error/info/warn/trace; speed up -X option (#298)