extended log time format changed to ISO8601
This commit is contained in:
parent
0687a6a981
commit
490fd3bfa4
|
|
@ -624,8 +624,8 @@ esp_err_t ExtendedLog(esp_log_level_t level, char *format, ...)
|
||||||
{
|
{
|
||||||
if (GetMQTTHandlesPool(idx)->mqtt_queue == NULL)
|
if (GetMQTTHandlesPool(idx)->mqtt_queue == NULL)
|
||||||
continue;
|
continue;
|
||||||
char time[RFC3339_TIMESTAMP_LENGTH];
|
char time[ISO8601_TIMESTAMP_LENGTH];
|
||||||
GetRFC3339Time(time);
|
GetISO8601Time(time);
|
||||||
char *buf = (char*) malloc(strlen(data) + RFC3339_TIMESTAMP_LENGTH + 2);
|
char *buf = (char*) malloc(strlen(data) + RFC3339_TIMESTAMP_LENGTH + 2);
|
||||||
if (buf)
|
if (buf)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user