Gqylpy-log

Latest version: v2.0

Safety actively analyzes 623518 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

2.0

2.0alpha1

1. Note: This is a refactored version with significant changes that are not backwards compatible.
2. Supports more log handlers, including but not limited to all handlers built into `logging`.
3. Refactored the logger creation process, which is no longer compatible with previous versions due to numerous parameter changes.
4. Refactored the default logger, which is not compatible with previous versions, and its configuration format has also undergone significant changes.
5. More appropriate code annotations and comments.
6. Added support for Python 3.13 version.

---

1. 注意:此版本为重构版本,大量改动不向下兼容。
2. 支持更多的日志处理程序,包括但不限于 `logging` 中内置的所有处理器。
3. 重构日志记录器的创建过程,重构后与旧版本不兼容,大量参数变动。
4. 重构默认的日志记录器,与旧版本不兼容,其配置格式也发生较大变化。
5. 更恰当的代码注解和注释。
6. 增加对 Python3.13 版本的支持。

1.2

1. Refactor the scheme for calling the logging method.
2. Refactor the scheme for importing real code.
3. Create the logger instance no longer provides too many default parameters.
4. Adjust code specification.
5. Improve several descriptions or comments.
6. Refactor (improve) the method of obtaining version information in `setup` by directly extracting it from `package.__doc__`, rather than opening a file.
7. Adjust the classification information of the open-source library on PyPi.
8. Update the README file.
---
1. 重构调用日志方法的方案。
2. 重构导入真实代码的方案。
3. 创建日志记录器实例不再提供过多的默认参数。
4. 调整代码规范。
5. 改进多处描述或注释。
6. 重构(改进)`setup` 中获得版本信息的方案,直接从 `package.__doc__` 中提取,而不再打开文件。
7. 调整在PyPi上的开源库分类信息。
8. 更新自述文件。

1.1

1.Optimize logical blocks for real code imports.
2.Multiple log messages can be passed, and add a new parameter `sep to concatenate log messages.
3.Add optional parameters `oneline` and `linesep`, make the log message always one line.
4.Modified the exception class that raises parameter exceptions, and updated the exception prompt content.
5.Nulls at both ends of the log string are no longer automatically eliminated (rollback of changes made in the last version).
6.Improve (eliminated) prompt that attributes do not exist when getting log instances, in some code editors.
7.Update (or add) the paramenter descriotion of a large number of functions.
8.Update the readme file.

1.优化真实代码导入的逻辑块。
2.支持传入多条日志消息,并新增一个参数 `sep` 用于拼接日志消息。
3.新增可选参数 `oneline` 和 `linesep`,让日志消息始终保持为一行。
4.修改引发参数异常时的异常类,并更新了异常提示内容。
5.不再自动消除日志字符串两端的空字符(回退上个版本的改动)。
6.改进(消除)获取日志实例时提示属性不存在,在一些代码编辑器中。
7.更新(或新增)大量函数的参数描述。
8.更新自述文件。

1.0.4

1.Fixed module error in Python3.6 of a lower version `from typing import Literal`.
2.Fixed parameter error in the calling log method procedure in Python3.6 of a lower version.
3.Improved the format of parameter comments for the function `__init__`, which now looks cleaner and nicer.
4.Fixed reference error for the logging method `exception`.
5.Automatically clears null characters at both ends of the log string. (Correctness of practice to be determined)

1.0.3

1.Fixed parameter type comments in log methods.
2.Improved the semantic of one parameter error prompt.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.