register logger name in framework, see #909

This commit is contained in:
Cloud Wu
2018-10-21 13:21:51 +08:00
parent b4752f2394
commit 8a3a0c1b71
3 changed files with 3 additions and 2 deletions

View File

@@ -65,7 +65,6 @@ logger_init(struct logger * inst, struct skynet_context *ctx, const char * parm)
}
if (inst->handle) {
skynet_callback(ctx, inst, logger_cb);
skynet_command(ctx, "REG", ".logger");
return 0;
}
return 1;