String of the location directory we want to store logs in.
ID of the current connection, so as not to spam error messages.
A bool whether or not the log location is valid.
assert(!("~/logs".isDir)); bool locationIsOkay = establishLogLocation(plugin, "~/logs"); assert("~/logs".isDir);
Verifies that a log directory exists, complaining if it's invalid, creating it if it doesn't exist.