Add log level checks before log input in some classes.
Comment From: chenqimiao
@sbrannen Thanks for your review. I have updated this PR according to your guidance. Looking forward to your reply again.
Comment From: sbrannen
This has been merged into master after various changes to the original PR. Please see the "Show resolved" comments for details.
Thanks
Comment From: chenqimiao
@sbrannen Thank you for your patience in explaining and modifying this PR , I have read every comment in detail, and I will pay more attention to these details in the future. Thanks again!