Skip to main content

make it easy to use log

Project description

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')

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

showlog-0.0.6-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

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

Hashes for showlog-0.0.6.tar.gz
Algorithm Hash digest
SHA256 b7e7d258884d1fe16d65373ac8af39f39d74861a4366b10954cbb9791236d711
MD5 916dca435aee6ea56d87f57606699a27
BLAKE2b-256 2f867bae50275bd88ff0a3e66a7ee0a791f10f45d2a477f5dbb3547b769dd6ca

See more details on using hashes here.

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

Hashes for showlog-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 489a41362edcab355390e08f2025a95a268307e10264d00660e0b9ea638eefac
MD5 04eee6554050129a24de160c1d3ceae6
BLAKE2b-256 7e0fd74524f6249e69e4a4e3e59f3317acbe85c34d5e17c29b27f7a36ea4b3e8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page