String of the location directory we want to store logs in.
Reference bool that will be set to true if we've already complained about the log location not being a directory.
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.