feat: 增加替换默认日志器的功能

This commit is contained in:
2025-11-22 16:17:32 +08:00
parent dc349aba15
commit 9ef15068c5
2 changed files with 15 additions and 0 deletions

View File

@@ -81,6 +81,13 @@ void loggingDestroyAll(void);
*/
void loggingDestroyLogger(Logger *logger);
/**
* @brief 替换默认日志器
* @param logger 日志器
* @return
*/
bool loggingReplaceDefaultLogger(Logger *logger);
#ifdef __cplusplus
}
#endif