feat: add log levels to logger
Replace log_message with log_debug/info/warn/err and a level filter controlled by logger_set_level. Extract the printf sink into log_write so CMock can intercept it in test_logger. Add 9 tests covering emit and suppression behaviour per level.
This commit is contained in:
@@ -91,6 +91,8 @@ to the custom scripts instead of system-installed packages.
|
||||
- Use conventional commit prefixes (`feat:`, `fix:`, `docs:`, `chore:`,
|
||||
etc.)
|
||||
- Separate subject from body with a blank line
|
||||
- Do **not** add yourself as a co-author (`Co-Authored-By:` trailers are
|
||||
forbidden)
|
||||
|
||||
Example:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user