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')
Metadata
Release files for showlog 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| showlog-0.0.6.tar.gz | 4.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| showlog-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / showlog-0.0.6.tar.gz
| Download URL | showlog-0.0.6.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b7e7d258884d1fe16d65373ac8af39f39d74861a4366b10954cbb9791236d711
|
|
BLAKE2b-256 checksum How to use checksums |
2f867bae50275bd88ff0a3e66a7ee0a791f10f45d2a477f5dbb3547b769dd6ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / showlog-0.0.6-py3-none-any.whl
| Download URL | showlog-0.0.6-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
489a41362edcab355390e08f2025a95a268307e10264d00660e0b9ea638eefac
|
|
BLAKE2b-256 checksum How to use checksums |
7e0fd74524f6249e69e4a4e3e59f3317acbe85c34d5e17c29b27f7a36ea4b3e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for showlog 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.