c81121c3d5
Final residual translations found in code/comments/CI: - .doorstop.yml: config comments, traceability mapping comments - Doxyfile: header comment - tools/render_plantuml.py: docstring - tools/generate_test_report.py: docstring - tests/unit_test_framework.h: doxygen brief + body - tests/unit/test_safety_manager.c: section comment - src/stubs/*.h: doxygen briefs for diag/display/inclinometer/logger/service/wheel-speed - .gitea/workflows/release.yml: release notes 'Statische Analyse' + deploy error message
25 lines
376 B
C
25 lines
376 B
C
/**
|
|
* @file logger.h
|
|
* @brief Logger - ring buffer + EEPROM persistence.
|
|
*
|
|
* @arch SWA-010
|
|
*
|
|
* ASIL: QM. STUB.
|
|
*/
|
|
#ifndef LOGGER_H
|
|
#define LOGGER_H
|
|
|
|
#include "../epb_types.h"
|
|
|
|
typedef enum {
|
|
LOG_DEBUG = 0,
|
|
LOG_INFO,
|
|
LOG_WARN,
|
|
LOG_ERROR
|
|
} LogLevel;
|
|
|
|
EpbStatus log_init(void);
|
|
void log_event(LogLevel lvl, uint16_t event_id, uint32_t param);
|
|
|
|
#endif
|