自用包,主要是为了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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zsx_pack-1.0.10.tar.gz.
File metadata
- Download URL: zsx_pack-1.0.10.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0rc2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42d822b94f08f7dcb2712340b2391e0a7ae00500f1abd00ebeb726c96e63f509
|
|
| MD5 |
7bd8312eb4888e3fa30b0941674f6cd4
|
|
| BLAKE2b-256 |
3577dfe021f846aa33cd81f2b7eb59c9eb23b37f91ad0f44702289c525e7df20
|
File details
Details for the file zsx_pack-1.0.10-py3-none-any.whl.
File metadata
- Download URL: zsx_pack-1.0.10-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0rc2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ecfedda7d38faaecc7646858361913b57ffe403cfbc0736d5965d89f04c86db
|
|
| MD5 |
4d4266b3f4c60553ab46f10f74482f81
|
|
| BLAKE2b-256 |
3791d2a4c6513c9d6cc09c45500893201f1cb117592b68239309b63c213c2b80
|