/// <summary> /// Sets the current <see cref="IBackgroundErrorLogger"/>. /// </summary> /// <param name="value">An instance of <see cref="IBackgroundErrorLogger"/>.</param> public static void SetCurrent(IBackgroundErrorLogger value) { _current.Value = value ?? GetDefaultBackgroundErrorLogger(); }