From 21ec10cc75539abd7e98ddd8b888808260a018ea Mon Sep 17 00:00:00 2001 From: Eric Rozell Date: Thu, 16 Feb 2017 15:48:04 -0500 Subject: [PATCH] fix(console): adding line break to console messages (#1013) --- .../Chakra/Executor/ChakraJavaScriptExecutor.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReactWindows/ReactNative.Shared/Chakra/Executor/ChakraJavaScriptExecutor.cs b/ReactWindows/ReactNative.Shared/Chakra/Executor/ChakraJavaScriptExecutor.cs index 47ac4811227..c66357f90e4 100644 --- a/ReactWindows/ReactNative.Shared/Chakra/Executor/ChakraJavaScriptExecutor.cs +++ b/ReactWindows/ReactNative.Shared/Chakra/Executor/ChakraJavaScriptExecutor.cs @@ -265,11 +265,11 @@ private JavaScriptValue NativeLoggingHook( { var message = arguments[1].ToString(); var logLevel = (LogLevel)(int)arguments[2].ToDouble(); - Debug.Write($"[JS {logLevel}] {message}"); + Debug.WriteLine($"[JS {logLevel}] {message}"); } catch { - Debug.Write("Unable to process JavaScript console statement"); + Debug.WriteLine("Unable to process JavaScript console statement"); } return JavaScriptValue.Undefined;