How to turn off the console logs? #459
-
I have reviewed the documentation and the source code, but I did not find any option to turn off the log. |
Beta Was this translation helpful? Give feedback.
Answered by
hughfenghen
Sep 4, 2025
Replies: 1 comment 1 reply
-
Call the import { Log } from '@webav/av-cliper';
if (import.meta.env?.DEV) {
Log.setLogLevel(Log.debug);
}
if (import.meta.env?.MODE === 'production') {
Log.setLogLevel(Log.warn);
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bee1an
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Call the
Log.setLogLevel
method, you can refer to the following code