public void Connect(Guid appInstanceId, string minLogLevel, string sharedSecret) { // TODO: Move to MEF + Application Settings if (sharedSecret.Equals(SharedSecret)) { LoggerLogLevel level; Enum.TryParse(minLogLevel, out level); CallbackManager.AddCallback(appInstanceId, level, Callback); } }