From b11fc837cd73bc0bfdf5a5cd5e0886cb115c3332 Mon Sep 17 00:00:00 2001 From: Maycon Santos Date: Tue, 7 May 2024 15:35:27 +0200 Subject: [PATCH] Use .txt extension for log exports (#15) * Use .txt extension for log exports * use predefined colors for advanced text --- android/tool/src/main/java/io/netbird/client/tool/Logcat.java | 2 +- src/screens/Advance/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android/tool/src/main/java/io/netbird/client/tool/Logcat.java b/android/tool/src/main/java/io/netbird/client/tool/Logcat.java index 64ec29d..69c0125 100644 --- a/android/tool/src/main/java/io/netbird/client/tool/Logcat.java +++ b/android/tool/src/main/java/io/netbird/client/tool/Logcat.java @@ -50,7 +50,7 @@ private File dumpFile() { } long timestamp = Instant.now().toEpochMilli(); - return new File(workspace, "netbird-" + timestamp + ".log"); + return new File(workspace, "netbird-" + timestamp + ".log.txt"); } private void eraseWorkspace() { diff --git a/src/screens/Advance/index.tsx b/src/screens/Advance/index.tsx index b95cbe1..6ef4744 100644 --- a/src/screens/Advance/index.tsx +++ b/src/screens/Advance/index.tsx @@ -155,7 +155,7 @@ const Advance: React.FC = ({navigation}) => { value={traceLogUse} onValueChange={(newValue) => setTraceLog(newValue)} /> - Enable trace log level. + Enable trace log level.