Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

日志打印是否可以禁用 #2050

Open
mm7h opened this issue Mar 25, 2025 · 2 comments
Open

日志打印是否可以禁用 #2050

mm7h opened this issue Mar 25, 2025 · 2 comments

Comments

@mm7h
Copy link

mm7h commented Mar 25, 2025

你好,关于SHERPA_ONNX_LOGE的日志输出是否可以禁用?
即使在一些config配置中有配置了debug=0,但依然还是会在控制台打印出日志

@csukuangfj
Copy link
Collaborator

请举个例子

@mm7h
Copy link
Author

mm7h commented Mar 25, 2025

Image
如图,这是个最简单的例子,我目前在用的是CircularBuffer这个类,一旦超出预定额度,就会打印出一个日志。

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

No branches or pull requests

2 participants