f
This commit is contained in:
parent
3a6c1a0192
commit
58f9a40cb2
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ public class FileLoggerUtilities {
|
||||||
public static void makeNewLogFile() throws IOException {
|
public static void makeNewLogFile() throws IOException {
|
||||||
currentLogDate = LocalDate.now();
|
currentLogDate = LocalDate.now();
|
||||||
|
|
||||||
Files.createFile(logPath);
|
if (!Files.exists(logPath)) Files.createFile(logPath);
|
||||||
|
|
||||||
logWriter = Files.newBufferedWriter(logPath, StandardOpenOption.APPEND);
|
logWriter = Files.newBufferedWriter(logPath, StandardOpenOption.APPEND);
|
||||||
logWriter.write(currentLogDate.toString() + '\n');
|
logWriter.write(currentLogDate.toString() + '\n');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue