void IConnectorActionCallback.LogMessage(int threadId, int tick, string text)
 {
     var message = new LogEntry
     {
         Message = text,
         MsOffset = tick,
         ThreadId = threadId
     };
     connector.OnLogMessage(message);
 }
Beispiel #2
0
 internal void OnLogMessage(LogEntry message)
 {
     var eventHandler = logEntryReceived;
     if (eventHandler == null) { return; }
     eventHandler.Invoke(this, new LogEntryEventArgs(message));
 }