示例#1
0
        public JsonPacket CreatePacket(UnityLogEvent log)
        {
            JsonPacket packet = new JsonPacket(log);

            packet.Project = Dsn.ProjectID;
            packet.Level   = GetErrorLevel(log.LogType);

            return(packet);
        }
示例#2
0
        public JsonPacket CreatePacket(UnityLogEvent log)
        {
            JsonPacket packet = new JsonPacket(log);

            packet.Project = Dsn.ProjectID;
            packet.Level   = ErrorLevel.error;

            return(packet);
        }