private void CreateLogEntry(ILogEntry l) { var e = _prefabBuilder.Instantiate(_sessionGui.LogGui.LogEntryPrefab); e.transform.SetParent(_sessionGui.LogGui.LogContainer); e.transform.localScale = new Vector3(1, 1, 1); e.GetComponent <LogEntryBtn>().Initialize(l.GetTitle(), () => { _sessionGui.LogEntryInspGui.SetInspectionText(l.GetFullInfo()); }); }
private static string GetSimpleLogEntryCsvEntry(ILogEntry l) { return(string.Format("{0},{1},{2},{3}" + ',' * 11, l.GetCreatedAt(), l.GetLogEntryType(), l.GetFullInfo(), l.GetDirection())); }
private static string GetSimpleLogEntryCsvEntry(ILogEntry l) { return(string.Format( $"{l.GetCreatedAt()},{l.GetLogEntryType()},{l.GetFullInfo()},{l.GetDirection()}" + ',' * 11 + "\r\n")); }