make it easy to use log
Project description
showlog
介绍
python的log,封装了些简单的方法
安装教程
- 使用pip安装
- 普通方式安装
pip3 install showlog
- 使用阿里镜像加速安装
pip3 install showlog -i https://mirrors.aliyun.com/pypi/simple
使用说明
- 导入
import showlog
- 简单使用
showlog.info('hello word!')
showlog.warning('this is warning')
showlog.error('this is error')
- 保存log为文件
- 只需要设置一次,后续的log将会被存储
showlog.save_info('[your file name].log')
showlog.save_warning('[your file name].log')
showlog.save_error('[your file name].log')
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
showlog-0.0.5.tar.gz
(4.6 kB
view hashes)