mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 12:43:09 +00:00
csec
This commit is contained in:
@@ -56,8 +56,8 @@ logger_cb(struct skynet_context * context, void *ud, int type, int session, uint
|
|||||||
case PTYPE_TEXT:
|
case PTYPE_TEXT:
|
||||||
if (inst->filename) {
|
if (inst->filename) {
|
||||||
char tmp[SIZETIMEFMT];
|
char tmp[SIZETIMEFMT];
|
||||||
int msec = timestring(ud, tmp);
|
int csec = timestring(ud, tmp);
|
||||||
fprintf(inst->handle, "%s.%02d ", tmp, msec);
|
fprintf(inst->handle, "%s.%02d ", tmp, csec);
|
||||||
}
|
}
|
||||||
fprintf(inst->handle, "[:%08x] ", source);
|
fprintf(inst->handle, "[:%08x] ", source);
|
||||||
fwrite(msg, sz , 1, inst->handle);
|
fwrite(msg, sz , 1, inst->handle);
|
||||||
|
|||||||
Reference in New Issue
Block a user