mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53: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:
|
||||
if (inst->filename) {
|
||||
char tmp[SIZETIMEFMT];
|
||||
int msec = timestring(ud, tmp);
|
||||
fprintf(inst->handle, "%s.%02d ", tmp, msec);
|
||||
int csec = timestring(ud, tmp);
|
||||
fprintf(inst->handle, "%s.%02d ", tmp, csec);
|
||||
}
|
||||
fprintf(inst->handle, "[:%08x] ", source);
|
||||
fwrite(msg, sz , 1, inst->handle);
|
||||
|
||||
Reference in New Issue
Block a user