Skip to main content

showlog

介绍

python的log,封装了些简单的方法

安装教程

  1. 使用pip安装
  • 普通方式安装
pip3 install showlog
  • 使用阿里镜像加速安装
pip3 install showlog -i https://mirrors.aliyun.com/pypi/simple

使用说明

  1. 导入
import showlog
  1. 简单使用
showlog.info('hello word!')
showlog.warning('this is warning')
showlog.error('this is error')
  1. 保存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)

Source distribution for showlog 0.0.6
File Size Uploaded Provenance
showlog-0.0.6.tar.gz 4.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for showlog 0.0.6
File Interpreter ABI Platform
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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page