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

Uploaded Source

File details

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

File metadata

  • Download URL: python3_log-0.0.8.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

Hashes for python3_log-0.0.8.tar.gz
Algorithm Hash digest
SHA256 7e4da046611ddeeb04173fc323bf15f28732864437570c50759d8dd8027a0489
MD5 01ea096c2dd22457da5cad36cb014a9d
BLAKE2b-256 61407fcc508f999c3c5c894240c4af13a5495c2cbfb8adc90accf17677392905

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