common: Implement logging framework

Signed-off-by: Ronald Caesar <github43132@proton.me>
This commit is contained in:
Ronald Caesar 2025-09-19 20:18:19 -04:00
parent 2e45679675
commit d0857d83f0
4 changed files with 312 additions and 0 deletions

View file

@ -73,6 +73,15 @@ foreach(TARGET ${POUND_PROJECT_TARGETS})
-Wcast-align
-Wconversion>
)
# Set Compile time log level for all targets.
# 1: Trace
# 2: Debug
# 3: Info
# 4: Warning
# 5: Error
# 6: Fatal
target_compile_definitions(${TARGET} PRIVATE COMPILE_TIME_LOG_LEVEL=1)
endforeach()