Compare Kind references before checking log levels
Assuming reference comparisons are much quicker than checking likely-nested logger levels, perform the former first. Also, since the reference can match only one of the instances, use "else if" to short-circuit the search.
Showing
想要评论请 注册 或 登录