Skip to content

Conversation

@nchapman
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings November 18, 2025 02:42
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a comprehensive logging system for LessUI, replacing the previous ad-hoc logging approach with a unified, well-documented solution for both C code and shell scripts.

Key Changes:

  • New C logging API (log.h/log.c) with automatic timestamps, errno translation, and log rotation
  • Shell script logging library (log.sh) for boot/install scripts
  • Standardized log file naming convention (.txt.log across all platforms)

Reviewed Changes

Copilot reviewed 54 out of 54 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
workspace/all/common/log.{h,c} Core logging implementation with thread-safe file rotation
workspace/all/common/log_internal.h Internal structures for logging system
tests/unit/all/common/test_log.c Comprehensive unit tests (498 lines)
workspace/all/{minui,minarch}/minui.c, minarch.c Integrated new logging system, removed \n from messages
workspace/all/common/{utils,api}.c Updated file I/O functions with error logging
workspace/*/keymon/{makefile,keymon.c} Added log.c compilation, imported log.h
skeleton/SYSTEM/*/paks/MinUI.pak/launch.sh Renamed log files from .txt to .log
skeleton/SYSTEM/common/log.sh New shell logging library with rotation
docs/LOGGING.md Comprehensive 881-line documentation
makefile.{qa,dev} Added log.c to test builds and dev environment

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 60 out of 60 changed files in this pull request and generated 6 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nchapman nchapman force-pushed the feature/app-logging branch from fa5cfc8 to 223d57c Compare November 18, 2025 04:07
@nchapman nchapman merged commit 2743993 into develop Nov 18, 2025
3 of 6 checks passed
@nchapman nchapman deleted the feature/app-logging branch November 18, 2025 21:57
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