private void PublishToChildren(RunnerMessage message) { foreach (var sink in Sinks) { sink.LogRunnerMessage(message.Message, Assembly.GetExecutingAssembly().GetName().Name, LogLevel.InfoLevel); } }
private void PublishToChildren(RunnerMessage message) { foreach (var sink in Sinks) { #if CORECLR sink.LogRunnerMessage(message.Message, Assembly.GetEntryAssembly().GetName().Name, LogLevel.InfoLevel); #else sink.LogRunnerMessage(message.Message, Assembly.GetExecutingAssembly().GetName().Name, LogLevel.InfoLevel); #endif } }
private void SendMessage(RunnerMessage message) { messageQueue.Enqueue(message); semaphore.Release(); }
private void PublishToChildren(RunnerMessage message) { foreach (var sink in Sinks) sink.LogRunnerMessage(message.Message, Assembly.GetExecutingAssembly().GetName().Name, LogLevel.InfoLevel); }