1. Optimize the type annotation for the `logger` parameter to accommodate a wider range of types.
2. 3.Correct a few other minor type annotation errors.
---
1. 优化参数 `logger` 的类型注解,以适应更广泛的类型。
2. 修正其它少量类型注解错误。
What's Changed
* 4.1.8 by 2018-11-27 in https://github.com/gqylpy/exceptionx/pull/22
**Full Changelog**: https://github.com/gqylpy/exceptionx/compare/4.1.7...4.1.8