used to print log for any app or platform
Project description
log
useage
use directly without any config
- install with pip
pip install python3-log
- useage directly
from log import log
log.info("info log")
log.error("error log")
in this case, default console log level and file log level are info and log path is current path when os is windows while /etc/log/log/ when os is linux.
config by yourself
- install with sh
bash install.sh
before use, you can edit config file /etc/log/config.ini in linux while lib path in windows. Then use it as below:
from log import log
log.info("info log")
log.error("error 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
python3_log-0.0.7.tar.gz
(3.6 kB
view details)
File details
Details for the file python3_log-0.0.7.tar.gz
.
File metadata
- Download URL: python3_log-0.0.7.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e91e5e1d5a55b7dad4affcd69c0f0c0829fe5192d52fe0094dc08a4233a29d96 |
|
MD5 | 9ad0b206ad0684a6f22921cbf4cf2873 |
|
BLAKE2b-256 | 6455f3db7e55463130558829549b73fcf94a25f7cf0f1de4ce0d42a00251c7c3 |