mirror of
https://github.com/pound-emu/pound.git
synced 2025-12-11 07:36:57 +00:00
common: Implement logging framework
Signed-off-by: Ronald Caesar <github43132@proton.me>
This commit is contained in:
parent
2e45679675
commit
d0857d83f0
4 changed files with 312 additions and 0 deletions
|
|
@ -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()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue