private void EnsureInitialised(LogSubscription s) { if (s.LogProvider == null) { s.LoadPlugin(); s.NewLogEntry += (o, e) => NewLogEntry(o, e); } }