ZPower Logger
Project description
ZPlogger
Zpower日志工具
Usage
from zplogger.logger import Logger
logger = Logger(
file=__file__,
user='yulong',
project="shouma",
server="127.0.0.1",
debug=True)
log_msg = '''
this is a test msg for test logger in multiplelines.
Stack messag:
xxxx
more stack info..
'''
# warning message
logger.warn(sys._getframe().f_lineno, log_msg)
# info message
logger.info(sys._getframe().f_lineno, log_msg)
# error message
logger.error(sys._getframe().f_lineno, log_msg)
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
zplogger-0.1.2.tar.gz
(2.3 kB
view details)
Built Distribution
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
File details
Details for the file zplogger-0.1.2.tar.gz.
File metadata
- Download URL: zplogger-0.1.2.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b010bdcf558dca56f9b6a9be9c8f4cf338209c4d48af4c1eadf710846812ece
|
|
| MD5 |
7044158d181a95548e003d32956c4e79
|
|
| BLAKE2b-256 |
d448274d2b49d06c301c458ac3affe32d769c2f9332984f734518e89072eb41d
|
File details
Details for the file zplogger-0.1.2-py3-none-any.whl.
File metadata
- Download URL: zplogger-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
807111296c58f6034d52e111aa6df5ae6dbba17157b79f241bdfb2a03126cc11
|
|
| MD5 |
bb921f65af92a75d5203dce03f4760c7
|
|
| BLAKE2b-256 |
94398531c39c341d54b4cefb61d556ce5f1db9a38cfd9e3976b4f6279718d13b
|