esp_log_timestamp_str() function
Convert the uint64 timestamp to a string representation. This function converts the uint64 timestamp in milliseconds to a string representation. The string representation depends on Kconfig options: - Milliseconds since boot, - Date and time, - Time.
Arguments
critical
Flag indicating whether the timestamp is critical. If this flag is true, it means the function is called in one of the following states: - early stage, when the Freertos scheduler is not running, - ISR, - CACHE is disabled.
timestamp_ms
The timestamp to convert, in milliseconds.
buffer
Pointer to the buffer where the string representation will be stored.
Return value
Pointer to the buffer containing the string representation of the timestamp.