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.6.tar.gz
(4.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file showlog-0.0.6.tar.gz.
File metadata
- Download URL: showlog-0.0.6.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7e7d258884d1fe16d65373ac8af39f39d74861a4366b10954cbb9791236d711
|
|
| MD5 |
916dca435aee6ea56d87f57606699a27
|
|
| BLAKE2b-256 |
2f867bae50275bd88ff0a3e66a7ee0a791f10f45d2a477f5dbb3547b769dd6ca
|
File details
Details for the file showlog-0.0.6-py3-none-any.whl.
File metadata
- Download URL: showlog-0.0.6-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
489a41362edcab355390e08f2025a95a268307e10264d00660e0b9ea638eefac
|
|
| MD5 |
04eee6554050129a24de160c1d3ceae6
|
|
| BLAKE2b-256 |
7e0fd74524f6249e69e4a4e3e59f3317acbe85c34d5e17c29b27f7a36ea4b3e8
|