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

Uploaded Source

File details

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

File metadata

  • Download URL: fx_nb_log-3.4.9.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.4

File hashes

Hashes for fx_nb_log-3.4.9.tar.gz
Algorithm Hash digest
SHA256 3666ee9a850a84caa8d9de8ecfc6c2ae6a818a38adc83a51c7b19a1a1cadc855
MD5 1898760c2edfca7ca350c0ea108b6587
BLAKE2b-256 8371e65339d40ef1d72ed96f0812d0f96e8db53d2d49a3818629b82c7b795b51

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