Skip to content
Discussion options

You must be logged in to vote

Call the Log.setLogLevel method, you can refer to the following code

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);
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bee1an
Comment options

Answer selected by bee1an
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants