Skip to main content

modified nb_log

Project description

说明

本项目从nb_log修改而来

  1. nb_log中对logging.Logger.addHandler的patch改为可配置的
  2. 配置文件默认生成到用户目录

Windows下为C:\Users\XXX\.nb_log\nb_log_config.py

Linux下为/home/XXX/.nb_log/nb_log_config.py

安装

pip uninstall nb_log(如果有必要先卸载nb_log )

pip install fx_nb_log

使用说明

因为默认使用sys.path[1]作为项目根目录,必须将PYTHONPATH设置为项目根目录

Windows: set PYTHONPATH=[项目根目录]

Linux: export PYTHONPATH=[项目根目录]

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

fx_nb_log-3.4.7.tar.gz (20.4 kB view details)

Uploaded Source

File details

Details for the file fx_nb_log-3.4.7.tar.gz.

File metadata

  • Download URL: fx_nb_log-3.4.7.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for fx_nb_log-3.4.7.tar.gz
Algorithm Hash digest
SHA256 0b5aac6748c29af756714d62573cd524fd962629df02345554b3ffa9632ed5da
MD5 7a9eae5a1b0226fbd8f168a8e432e6cc
BLAKE2b-256 ed2848d08338788bb871432c7a2382c942e034beb234851db7a446d62c168e0a

See more details on using hashes here.

Supported by

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