π LightLog v2.0.0 - Enhanced Stability & Testing Framework
β¨ What's New
π§ͺ Comprehensive Testing Framework
- Added integrated test suite with modular test framework
- Implemented callback system testing with event validation
- Enhanced rotation system testing with manual and automatic triggers
- Added compression system validation with ZIP file verification
- Performance testing with detailed metrics (43,000+ messages/sec)
π§ Code Quality Improvements
- Refactored code structure for improved readability and maintainability
- Enhanced logging system headers with better formatting
- Improved error message translations for better usability
- Cleaned up legacy project files and simplified project structure
π¦ Build System Enhancements
- Updated project name and descriptions in CMake
- Added simple demo program for quick start
- Fixed header file references in test files
- Improved compilation compatibility across platforms
π Bug Fixes
- Fixed compilation issues in test programs
- Corrected header include paths
- Resolved interface naming inconsistencies
- Fixed enum value mismatches
π Performance Highlights
- Throughput: 43,000+ messages per second
- Compression: 95%+ compression ratio (66KB β 3KB)
- Memory Usage: <5MB for 10K message queue
- Processing Speed: 1000 messages in ~23ms
π οΈ Technical Details
Requirements
- C++17 or higher
- CMake 3.16+
- Windows (MSVC 2019+) or Linux (GCC 7.0+/Clang 6.0+)
Integration Methods
- FetchContent (recommended)
- add_subdirectory
- find_package
π Migration Guide
This release is backward compatible with v1.0.0. No breaking changes were introduced.
π§ How to Use
Quick Start with FetchContent
include(FetchContent)
FetchContent_Declare(
LightLog
GIT_REPOSITORY https://github.com/hesphoros/LightLogWriteImplWithPanel.git
GIT_TAG v2.0.0
)
FetchContent_MakeAvailable(LightLog)
target_link_libraries(your_target PRIVATE LightLog::lightlog)