只知道logging.Logger()和logging.getLogger()好像都是用来创建logger对象的它们俩有啥区别呢?
logging.Logger()是实例化实例。
而logging.getLogger()是根据name先查找,有则直接返回实例;没有会先创建实例,再返回。