Metadata-Version: 2.1
Name: log-handler-daily-path
Version: 0.0.3
Summary: This module is a log handler by daily path rotating.
Home-page: https://github.com/meanstrong/log-handler-daily-path
Author: Rocky Peng
Author-email: rockypengchina@outlook.com
Maintainer: Rocky Peng
Maintainer-email: rockypengchina@outlook.com
License: GPLv3
Description: 
        # log-handler-daily-path - 一个每日切换日志路径模块
        
        ## About
        这是一个日志路径每日轮转模块，按照指定方式每日切换日志输出路径。  
        日志输出的路径为： { base_path }/{ yyyy-MM-dd }/{ filename }
        
        ## Requirements
        - Python3
        
        ## Install
        通过pip命令安装：
        ```shell
        pip install log-handler-daily-path
        ```
        
        ## Usage
        ```python
        import logging
        
        from log_handler_daily_path import DailyRotatingPathHander
        
        
        logging.basicConfig(level=logging.DEBUG)
        log_handler = DailyRotatingPathHander(base_path="/var/log", filename="app.log", backup_days=30)
        logging.getLogger().addHandler(log_handler)
        
        logger = logging.getLogger("Logger")
        logger.info("xxx")
        ```
        
        
        ## Author
        - <a href="mailto:pmq2008@gmail.com">Rocky Peng</a>
        
Platform: any
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
