Skip to content

Commit

Permalink
Move log file location
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisFeline committed Dec 27, 2024
1 parent d209083 commit fcbdf26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Logger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ internal static class Logger {

private static readonly StreamWriter LogFileWriter;
static Logger () {
LogFileWriter = new StreamWriter("output.log", append: false);
LogFileWriter = new StreamWriter(Path.Combine(Program.DataLocation, "output.log"), append: false);
}

internal static void Log(string? message, LogType logType = LogType.Log) {
Expand Down

0 comments on commit fcbdf26

Please sign in to comment.