console本身是一只黑马,但是我们只拿它来耕田,这就有点过份了,来来来,让它来给我们跑一跑。
使用教程
console.group("A请求");
console.log(`%c prev state`, `color: #9E9E9E; font-weight: bold`, {name:'hi'});
console.log(`%c action`, `color: #03A9F4; font-weight: bold`, {name:'hello'});
console.log(`%c next state`, `color: #4CAF50; font-weight: bold`, {name:'what'});
console.groupEnd();
console for chrome
网友评论