How does three.js turn off log output?

recently learned three.js , made a demo, page runs normally , but the browser"s console will have warning and three.js itself introduced to print logs, how to turn off three.js log printing without affecting other log output?

clipboard.png


Click default levels to cancel warnings, and the output of warning will not be displayed.

take a look at the source code
https://github.com/mrdoob/thr...

console.warn prints warnings directly, cannot be turned off, and can only filter

.

or filter the output of THREE with regularization


use the browser to filter. Save time

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e96dcf-160e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e96dcf-160e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?