WriteLog was moved to its own file class