Update ErrorLogging.cs

Fixes blank statement of checking if the log dir exists