mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
logs: use single nonmonotonic usec count
This commit is contained in:
parent
2236859188
commit
f33b3443e3
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ lwsl_timestamp(int level, char *p, int len)
|
|||
for (n = 0; n < LLL_COUNT; n++) {
|
||||
if (level != (1 << n))
|
||||
continue;
|
||||
now = lws_now_usecs() / 100;
|
||||
|
||||
if (ptm)
|
||||
n = lws_snprintf(p, len,
|
||||
"[%04d/%02d/%02d %02d:%02d:%02d:%04d] %s: ",
|
||||
|
|
Loading…
Add table
Reference in a new issue