void IUDPBoxLogger.Log(string content, EUDPBoxLogType type) { var timeStr = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); switch (type) { case EUDPBoxLogType.Log: mStringBuilder.AppendLine($"[{timeStr}][Log]{content}"); break; case EUDPBoxLogType.Warning: mStringBuilder.AppendLine($"[{timeStr}][Warning]{content}"); break; case EUDPBoxLogType.Error: mStringBuilder.AppendLine($"[{timeStr}][Error]{content}"); break; default: break; } }
void IUDPBoxLogger.Log(string content, EUDPBoxLogType type) { }