Python中logging.NullHandler 的使用教程 在使用peewee框架时,默认是不会出现日志消息的。frompeeweeimportModel,CharField,DateTimeField,IntegerF logging.NullHandler