void ProcessMessage(IncomingMessage message) { AllMessages.PushMessage(message); using (Logs.NodeServer.BeginScope("Processing inbound message {message}", message.Message)) { ProcessMessageCore(message); } }
void ProcessMessage(IncomingMessage message) { AllMessages.PushMessage(message); TraceCorrelation trace = null; if (message.Node != null) { trace = message.Node.TraceCorrelation; } else { trace = new TraceCorrelation(NodeServerTrace.Trace, "Processing inbound message " + message.Message); } using (trace.Open(false)) { ProcessMessageCore(message); } }