rewrite the origin console.log

use

console.log() or log()

window.consoleParams = {

color: ”, // default ‘#58baff’

height: , // default 50

}

if hideLog is true, all the logs will be hide, it’s for the production environment. You can try other params to know their use. Any suggestion or problem, pls feel free to contact me.E-mail:[email protected]. Thank you!

This is a method that overrides console console.log because it’s used too much, but you can also use the log method. Instead of commenting or removing multiple logs, just change hidelog to True, which will be useful for development. Other parameters please try your own, I hope to bring a bit of fun to your boring coding work. If you have any suggestions or questions, please make an issue or email me. 447462224 @qq.com thanks