Create the logs folder.

This commit is contained in:
IntegratedQuantum 2022-10-14 20:36:24 +02:00
parent 0c32d76a4a
commit 55fa0064b9

View File

@ -218,6 +218,7 @@ pub fn main() !void {
};
// init logging.
try std.fs.cwd().makePath("logs");
logFile = std.fs.cwd().createFile("logs/latest.log", .{}) catch unreachable;
defer logFile.close();