feat(log): add log level parameters to custom_print_cb (#3826)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
@@ -25,7 +25,7 @@ If you can't use `printf` or want to use a custom function to log, you can regis
|
||||
For example:
|
||||
|
||||
```c
|
||||
void my_log_cb(const char * buf)
|
||||
void my_log_cb(lv_log_level_t level, const char * buf)
|
||||
{
|
||||
serial_send(buf, strlen(buf));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user