Skip to content

Commit

Permalink
Use .txt extension for log exports (#15)
Browse files Browse the repository at this point in the history
* Use .txt extension for log exports

* use predefined colors for advanced text
  • Loading branch information
mlsmaycon authored May 7, 2024
1 parent 19fb27f commit b11fc83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion src/screens/Advance/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ const Advance: React.FC<Props> = ({navigation}) => {
value={traceLogUse}
onValueChange={(newValue) => setTraceLog(newValue)}
/>
<Text style={{ marginLeft: 10 }}>Enable trace log level.</Text>
<Text style={{ marginLeft: 10,color: colors.textDescription }}>Enable trace log level.</Text>
</View>
<View style={{ flexDirection: 'row', alignItems: 'center' }}>
<Button
Expand Down

0 comments on commit b11fc83

Please sign in to comment.