private void Log(string body) { var splitEach = body.Split('\r', '\n').Select(t => t.Trim()).Where(t => !String.IsNullOrEmpty(t)); foreach (var text in splitEach) { Debug.WriteLine("[USER-STREAMS] " + text); _handler.Log(text); } }
private void Log(string body) { var splitEach = body.Split('\r', '\n').Select(t => t.Trim()).Where(t => !String.IsNullOrEmpty(t)); foreach (var text in splitEach) { Debug.WriteLine("[USER-STREAMS] " + text); _handler.Log(text); } }