一个日志操作工具类。
Project description
使用方法
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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
logeer-0.0.2.tar.gz
(4.3 kB
view details)
Built Distributions
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
logeer-0.0.2-py3.9.egg
(3.6 kB
view details)
File details
Details for the file logeer-0.0.2.tar.gz.
File metadata
- Download URL: logeer-0.0.2.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d69c8f7ea9059a97359c71b2aa3aa4a79eda4b64e96ad47e73a427815104993
|
|
| MD5 |
12bbe72fad0d8a7c2702e75346a9c054
|
|
| BLAKE2b-256 |
7916b9585d0a820a23ba6366626e5e9cf34e2fc82e900b396790b42161ff76fa
|
File details
Details for the file logeer-0.0.2-py3.9.egg.
File metadata
- Download URL: logeer-0.0.2-py3.9.egg
- Upload date:
- Size: 3.6 kB
- Tags: Egg
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46775fa381d861a85026adf1ce2aee0c862fe761046a3619862067bc2ae2287c
|
|
| MD5 |
86082920453f17c91c606b359cf707f4
|
|
| BLAKE2b-256 |
e0d3b54f9240e8dab654affdb79da7f6a23ccdce45b0c16f6fd55a40252bb2ab
|
File details
Details for the file logeer-0.0.2-py2.py3-none-any.whl.
File metadata
- Download URL: logeer-0.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a51e8096e95707494517eedcf5b07daf9c26bd701b7f18e54b775b6bdebf7922
|
|
| MD5 |
0f299773627a24e1a8d5cbc200346dd0
|
|
| BLAKE2b-256 |
89ada05ca8c278324416cd170c36d632184d3c7656b2ee9be0dffdc7dced7e3b
|