Fix sw_logging when `Logger.disabled` is true (#281)

Co-authored-by: Jedore <jedore_fight@189.cn>
2 files changed