liuzhenfu / log_config Goto Github PK
View Code? Open in Web Editor NEWThis project forked from amazingcoderpro/log_config
封装了logger配置,方便使用日志系统.Provide a function for anyone who want to configure log parameters easily, just call init_log_config when your app start up, the you can use the module of logging which build-in python3 without any other configtur. This module support ConsoleHandler, RotatingFileHandler and SMTPHandler and You can change the configuration parameters according to your requirements
License: GNU General Public License v3.0