public void SendNj4xServerLog(string Nj4xID, DateTime EventTime, string LogData) { LogPacket packet = new LogPacket(); packet.id = Nj4xID; packet.log_datetime = EventTime; packet.log_data = LogData; m_Socket.Emit("nj4xLog", JsonConvert.SerializeObject(packet)); }
public void SendAccountLog(string AccountID, DateTime EventTime, string LogData) { LogPacket packet = new LogPacket(); packet.id = AccountID; packet.log_datetime = EventTime; packet.log_data = LogData; m_Socket.Emit("accountLog", JsonConvert.SerializeObject(packet)); }