Commit Graph
5 Commits
Author SHA1 Message Date
xiaozhou233 8813190c29 [Update] Param & Logger
[Add] Support Custom Path
[Refactor] Some Log
2025-10-13 10:03:16 +08:00
xiaozhou233 2df1e4c80f [Refactor] Utils 2025-10-13 09:22:27 +08:00
xiaozhou233 3ac42210f4 [Refactor] log system & Utils 2025-10-08 16:42:58 +08:00
xiaozhou233 126e255a85 [Update] log system
- [Add] New `log.c` module based on rxi's MIT-licensed log library
- [Implement] Runtime switches to enable/disable output elements:
  - log_is_log_time()
  - log_is_log_level()
  - log_is_log_filename()
  - log_is_log_line()
- [Improve] stdout and file callbacks now respect user-defined output settings
- [Remove] Remove some useless logic
2025-10-08 15:57:37 +08:00
xiaozhou233 32f2d5c116 [Refactor] Modular CMake setup with unified module handling
[Add] JuiceModule.cmake function add_juice_module to create modules with source collection, include dirs, linking, and optional compile definitions
[Change] Root CMakeLists.txt now calls add_juice_module for core, injector, loader; no need to repeat add_subdirectory per module
[Change] target_compile_definitions for module-specific macros (e.g., agent) moved to function end to ensure target exists before setting
[Improve] Simplified module management and build clarity
2025-10-08 03:31:45 +08:00