Skip to main content

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.5.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file python3_log-0.0.5.tar.gz.

File metadata

  • Download URL: python3_log-0.0.5.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for python3_log-0.0.5.tar.gz
Algorithm Hash digest
SHA256 830e9567ea9d7ce0dfb9524501542ff5e4000f3ba40dca187fca18bc39789778
MD5 ceed4b6cad1179a41993d72a90e3c86a
BLAKE2b-256 d1301c5b3528a68abb15c067f03fe35cfd04a7c5a2f2a5b68ee6824541080fcb

See more details on using hashes here.

Supported by

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