Skip to main content

自用包,主要是为了logger无法屏蔽第三方包日志而开发的

Project description

Example Package

#在此文件内,可使用markdown撰写对包的详细介绍和说明,便于别人熟悉和使用,在此不再赘述 This is a simple example package. You can use Github-flavored Markdown 本函数主要作用是开发一个日志系统,本日志系统不使用logger包,可以有效屏蔽第三方日志信息, 函数:Logger 参数:

title:日志标题(字符串)date_rotate:是否将日期添加到日志路径里面(false:不加,true:加) log_dir:日志路径(如果填写日志路径,表示需要永久化保存日志,不填写的话不会将日志保存到本地) print_level:输出日志的等级,默认为notset file_level:储存日志默认的最低等级 is_color:是否启用才是输出 file_encoding:文件编码 datetime_format:日期格式 format:日志格式,默认为"[datetime] [[class_name]-[func_name]]|<[log_level]>|([lineno]):[message|extra]"

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

zsx_pack-1.0.8.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zsx_pack-1.0.8-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file zsx_pack-1.0.8.tar.gz.

File metadata

  • Download URL: zsx_pack-1.0.8.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0rc2

File hashes

Hashes for zsx_pack-1.0.8.tar.gz
Algorithm Hash digest
SHA256 09f70aceb456c9b20c383e1eaa65a3ddf002a3b6d2545264c62b1fc2c5fbccec
MD5 d57b8b38d1954d8438061790824515da
BLAKE2b-256 78aa2b30d6fd9b3ca1675eb339530f27cb143818847fdfd537d6d220518be8a2

See more details on using hashes here.

File details

Details for the file zsx_pack-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: zsx_pack-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0rc2

File hashes

Hashes for zsx_pack-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 1a4af5b82d0d5c86274837c5aa91c1fd1869d13d55255bd0c8bc951f2bd99bbc
MD5 3164199535e967b5263bfcf91392b61f
BLAKE2b-256 bef6c842853c5be4e5c051a898ad31d559d7aea1e01db90d50c5f40c85e71971

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