Metadata-Version: 2.1
Name: LLoghelper
Version: 0.1.2
Summary: A helper module for logging.
Home-page: https://github.com/atgczcl/LLoghelper
Author: atgczcl
Author-email: atgzcl@163.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: colorlog >=6.8.2

# LLoghelper

使用：

> pip install LLoghelper

导入：

> ```python
> from LLoghelper.log_helper import log, logger
> ```

```python
 ''' 日志辅助类 

    支持log.info, print 等方法提供日志输出、格式设置、颜色设置等功能
    调用方法：
        log.info("This is a test.")
        log.warning("This is a warning.")
        log.error("This is an error.")
        log.critical("This is a critical error.")
        log.debug("This is a debug message.")
    替换原生的 print 函数, 并支持颜色输出：
        print("This is a test.")
    主要功能：
    1. 日志输出到控制台和文件
    2. 日志格式设置：simple, standard, simple_color, verbose, debug
    3. 日志颜色设置：red, green, yellow, blue, magenta, cyan, reset
    4. 日志级别设置：DEBUG, INFO, WARNING, ERROR, CRITICAL, NOTSET
    5. 日志打印控制：可以控制日志是否可以打印到控制台和文件

    '''
```

![image](./docs/screenshot.png)
