コード例 #1
0
        void IApplicationRecorder.RecordInfo(string tag, string message)
        {
            AppInfoCalledTimes++;
            var formatted = $"{tag}:{message}{Environment.NewLine}";

            _messageCache.AddMessage(formatted);
            AppInfoCache += formatted;
            RecordReceived?.Invoke(formatted);
        }
コード例 #2
0
 void IApplicationRecorder.RecordInfo(string tag, string message)
 {
     _messagesCache.AddMessage(FormatInfoRecord(tag, message));
     RecordReceived?.Invoke(FormatInfoRecord(tag, message));
 }