Exemplo n.º 1
0
        public static void Debug(Logger logger, LogItem logItem)
        {
            Log(logger, logItem);

            // handle pre rendered cases in App.xaml.cs
            if (DebugTabItem.Instance is not null)
            {
                FlowDocHelper.AppendMessage(logItem.Message, DebugTabItem.Instance.DebugLogReader._FDR);
            }
        }
Exemplo n.º 2
0
 private void OnNewChatLogItem(object?sender, MemoryHandler memoryHandler, ChatLogItem chatLogItem)
 {
     FlowDocHelper.AppendChatLogItem(memoryHandler, chatLogItem, this.ChatLogReader._FDR);
 }