We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The text was updated successfully, but these errors were encountered:
关于日志等级问题,stagesepx使用的是loguru默认的logger,意味着你只需要对该logger进行修改即可影响stagesepx的日志。
import sys from loguru import logger logger.remove() logger.add(sys.stderr, level='INFO')
如此做之后即可将日志等级调整为INFO及以上。更多可以参考:Delgan/loguru#138
同样的,如果你希望将日志保存到文件,与loguru保持一致即可:
from loguru import logger logger.remove() logger.add('haha.log')
如果做之后会将日志保存到 haha.log 中。更多可以参考:Delgan/loguru#125
haha.log
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: