1
0
mirror of https://github.com/armink/EasyLogger.git synced 2025-01-19 07:42:52 +08:00

Merge branch 'master' of gitee.com:Armink/EasyLogger

This commit is contained in:
朱天龙 (Armink) 2022-10-16 17:48:48 +08:00
commit 01e7b87a72
2 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,4 @@
mkdir out
gcc -I "easylogger\inc" -I "..\..\..\easylogger\inc" -O0 -g3 -Wall -c "..\..\..\easylogger\src\elog.c" -o "out\elog.o"
gcc -I "easylogger\inc" -I "..\..\..\easylogger\inc" -I "..\..\..\easylogger\plugins\file" -O0 -g3 -Wall -c "easylogger\port\elog_port.c" -o "out\elog_port.o"
gcc -I "easylogger\inc" -I "..\..\..\easylogger\inc" -O0 -g3 -Wall -c "..\..\..\easylogger\src\elog_utils.c" -o "out\elog_utils.o"

View File

@ -141,7 +141,7 @@ static const char *color_output_info[] = {
#endif /* ELOG_COLOR_ENABLE */
static bool get_fmt_enabled(uint8_t level, size_t set);
static void elog_set_filter_tag_lvl_default();
static void elog_set_filter_tag_lvl_default(void);
/* EasyLogger assert hook */
void (*elog_assert_hook)(const char* expr, const char* func, size_t line);
@ -389,7 +389,7 @@ void elog_output_unlock(void) {
/**
* set log filter's tag level val to default
*/
static void elog_set_filter_tag_lvl_default()
static void elog_set_filter_tag_lvl_default(void)
{
uint8_t i = 0;