Skip to content

feat: optimize log output system with dual-mode support#1194

Merged
barry-ran merged 1 commit intobarry-ran:devfrom
add-uos:dev
Aug 4, 2025
Merged

feat: optimize log output system with dual-mode support#1194
barry-ran merged 1 commit intobarry-ran:devfrom
add-uos:dev

Conversation

@add-uos
Copy link
Copy Markdown
Contributor

@add-uos add-uos commented Aug 4, 2025

  • Add detailed log mode with timestamp and location info
  • Add log level prefixes for better readability
  • Integrate CMake option for build-time log mode control
  • Ensure consistent output between terminal and log window

Log: Enhanced logging system provides two modes: detailed mode for development with full context information, and simple mode for production with minimal overhead. Both modes maintain consistent output across terminal and application log window.

- Add detailed log mode with timestamp and location info
- Add log level prefixes for better readability
- Integrate CMake option for build-time log mode control
- Ensure consistent output between terminal and log window

Log: Enhanced logging system provides two modes: detailed mode for
development with full context information, and simple mode for
production with minimal overhead. Both modes maintain consistent
output across terminal and application log window.
@add-uos
Copy link
Copy Markdown
Contributor Author

add-uos commented Aug 4, 2025

Hi @barry-ran , could you please help review this? During debugging, more detailed log information might be needed. Could you please check if this feature can provide convenience for other developers?

1. ENABLE_DETAILED_LOGS == ON
image

2. ENABLE_DETAILED_LOGS == OFF
image

@barry-ran barry-ran merged commit 5a9536e into barry-ran:dev Aug 4, 2025
5 checks passed
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