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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for python3_log-0.0.6.tar.gz
Algorithm Hash digest
SHA256 68827badbd705a7f9d2c32ecc9f04f52cf3de396cfa3e2153a0adb4aba75c58e
MD5 ae52406ac8935ea9d2900647306a6876
BLAKE2b-256 36f663382fc7c84fb52f9cbabd5c794457ccbc93710ff707e05f3a8008f85795

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