Open
Description
Is your feature request related to a problem?
I would like to intercept the logging using esp_log_set_vprintf
and send, for example, to a syslog server. The syslog service understands the concept of "level" of message (e.g., error, warning, info, debug, etc). I would like to set the appropriate level in the syslog message. However, this information is not passed to esp_log_set_vprintf
.
Describe the solution you'd like.
Is there a function that already does this, or perhaps such a function could be created? If it passed the log message tag that would be sufficient because then I could call esp_log_level_get
.
Describe alternatives you've considered.
I've briefly considered parsing the text of the log message, knowing it is prefixed with a tag, but this is of course not a reliable way of obtaining the tag (i.e., not a good idea).
Additional context.
No response