From 4ea4547c76db2ff618989de628cd8f3bf2182ded Mon Sep 17 00:00:00 2001 From: "minkee.lee" Date: Tue, 26 May 2015 11:02:31 +0900 Subject: [PATCH] Logger: Modified new-line character. - '\n' has caused wrong display in Windows. Change-Id: Ic7aa2c3a241d0ecea179b7dd5979d46f5691fae1 Signed-off-by: minkee.lee --- src/org/tizen/emulator/manager/logging/EMLogger.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/org/tizen/emulator/manager/logging/EMLogger.java b/src/org/tizen/emulator/manager/logging/EMLogger.java index 00078db..1eaaecc 100644 --- a/src/org/tizen/emulator/manager/logging/EMLogger.java +++ b/src/org/tizen/emulator/manager/logging/EMLogger.java @@ -184,14 +184,14 @@ class LoggerFormatter extends Formatter { Throwable t = record.getThrown(); if (t != null) { StackTraceElement[] stacks = t.getStackTrace(); - sb.append('\n'); + sb.append(StringResources.NEW_LINE); sb.append(t.toString()); for (int i = 0; i < stacks.length; i++) { - sb.append('\n'); + sb.append(StringResources.NEW_LINE); sb.append(stacks[i].toString()); } } - sb.append('\n'); + sb.append(StringResources.NEW_LINE); return sb.toString(); } } @@ -215,14 +215,14 @@ class ConsoleLoggerFormatter extends Formatter { Throwable t = record.getThrown(); if (t != null) { StackTraceElement[] stacks = t.getStackTrace(); - sb.append('\n'); + sb.append(StringResources.NEW_LINE); sb.append(t.toString()); for (int i = 0; i < stacks.length; i++) { - sb.append('\n'); + sb.append(StringResources.NEW_LINE); sb.append(stacks[i].toString()); } } - sb.append('\n'); + sb.append(StringResources.NEW_LINE); return sb.toString(); } } -- 2.7.4