void IApplicationRecorder.RecordInfo(string tag, string message) { AppInfoCalledTimes++; var formatted = $"{tag}:{message}{Environment.NewLine}"; _messageCache.AddMessage(formatted); AppInfoCache += formatted; RecordReceived?.Invoke(formatted); }
void IApplicationRecorder.RecordInfo(string tag, string message) { _messagesCache.AddMessage(FormatInfoRecord(tag, message)); RecordReceived?.Invoke(FormatInfoRecord(tag, message)); }