Skip to content

refactor(Logger): filtering logs with environment variable #8299

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

0xfullex
Copy link
Collaborator

在开发模式中,可以通过环境变量(或.env文件),来控制显示的日志(级别及模块),方便开发时调试

详细使用方式,见更新的文档

- Updated LoggerService to utilize environment variables for filtering logs by level and module in development mode.
- Modified the logging level handling to use constants from the logger configuration.
- Enhanced documentation to include details on using environment variables for log filtering in both English and Chinese documentation files.
- Cleaned up unused type definitions related to logging.
@alephpiece alephpiece added this to the v1.5.2 milestone Jul 19, 2025
@0xfullex 0xfullex requested a review from kangfenmao July 20, 2025 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants