Skip to content

Latest commit

 

History

History
executable file
·
10 lines (7 loc) · 545 Bytes

README.md

File metadata and controls

executable file
·
10 lines (7 loc) · 545 Bytes

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