Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

您好!我功能调试完了,我怎么关闭日志打印呢!player好像没找到打印日志的开关,我release包中仍然打印了url #619

Open
BugFactory9527 opened this issue Dec 19, 2023 · 1 comment

Comments

@BugFactory9527
Copy link

No description provided.

@Yigehaoren8848
Copy link

FijkLog.setLevel(FijkLogLevel.Error);

或者你也可以根据是开发版本还是release版本设置:
void main() {
if (kReleaseMode) {
print('App is running in release mode========================');
FijkLog.setLevel(FijkLogLevel.Error);
} else {
print('App is running in debug mode========================');
FijkLog.setLevel(FijkLogLevel.Info);
}

runApp(Home());
}

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants