public void Log(ILogable data) { using (System.IO.StreamWriter writer = new System.IO.StreamWriter(this.filePath)) { writer.WriteLine(data.ToString()); } }