internal static void HandleNetworkLog(ulong clientId, Stream stream)
        {
#if DEVELOPMENT_BUILD || UNITY_EDITOR
            s_HandleNetworkLog.Begin();
#endif
            using (var reader = PooledNetworkReader.Get(stream))
            {
                NetworkLog.LogType logType = (NetworkLog.LogType)reader.ReadByte();
                string             message = reader.ReadStringPacked();

                switch (logType)
                {
                case NetworkLog.LogType.Info:
                    NetworkLog.LogInfoServerLocal(message, clientId);
                    break;

                case NetworkLog.LogType.Warning:
                    NetworkLog.LogWarningServerLocal(message, clientId);
                    break;

                case NetworkLog.LogType.Error:
                    NetworkLog.LogErrorServerLocal(message, clientId);
                    break;
                }
            }
#if DEVELOPMENT_BUILD || UNITY_EDITOR
            s_HandleNetworkLog.End();
#endif
        }
        internal static void HandleNetworkLog(ulong clientId, Stream stream)
        {
            using (PooledBitReader reader = PooledBitReader.Get(stream))
            {
                NetworkLog.LogType logType = (NetworkLog.LogType)reader.ReadByte();
                string             message = reader.ReadStringPacked().ToString();

                switch (logType)
                {
                case NetworkLog.LogType.Info:
                    NetworkLog.LogInfoServerLocal(message, clientId);
                    break;

                case NetworkLog.LogType.Warning:
                    NetworkLog.LogWarningServerLocal(message, clientId);
                    break;

                case NetworkLog.LogType.Error:
                    NetworkLog.LogErrorServerLocal(message, clientId);
                    break;
                }
            }
        }