使用方法
import logeer as log
# 日志输出到文件
log.addLogFile("test")
# 日志级别
log.trace("trace log")
log.info("info log")
log.warn("warn log")
log.debug("debug log")
log.error("error log")
log.success("success log")
# 捕获异常
@log.catch
def raise_error():
raise RuntimeError("run error")
raise_error()
log.success("我可以被执行,不会阻塞!")
raise_error()
Metadata
Release files for logeer 0.0.2
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 | |
|---|---|---|---|---|
| logeer-0.0.2.tar.gz | 4.3 kB | Without provenance | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| logeer-0.0.2-py3.9.egg | Legacy Egg format | - | - | Details |
| logeer-0.0.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 10.5 kB
Release files / logeer-0.0.2.tar.gz
| Download URL | logeer-0.0.2.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d69c8f7ea9059a97359c71b2aa3aa4a79eda4b64e96ad47e73a427815104993
|
|
BLAKE2b-256 checksum How to use checksums |
7916b9585d0a820a23ba6366626e5e9cf34e2fc82e900b396790b42161ff76fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / logeer-0.0.2-py3.9.egg
| Download URL | logeer-0.0.2-py3.9.egg |
|---|---|
| Size | 3.6 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
46775fa381d861a85026adf1ce2aee0c862fe761046a3619862067bc2ae2287c
|
|
BLAKE2b-256 checksum How to use checksums |
e0d3b54f9240e8dab654affdb79da7f6a23ccdce45b0c16f6fd55a40252bb2ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / logeer-0.0.2-py2.py3-none-any.whl
| Download URL | logeer-0.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a51e8096e95707494517eedcf5b07daf9c26bd701b7f18e54b775b6bdebf7922
|
|
BLAKE2b-256 checksum How to use checksums |
89ada05ca8c278324416cd170c36d632184d3c7656b2ee9be0dffdc7dced7e3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Security for logeer 0.0.2
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.