public ClickTwicePackSettings WithLogger(IPublishLogger logger) { Loggers.Add(logger); return(this); }
public ClickTwicePackSettings LogTo(IPublishLogger logger) { WithLogger(logger); return(this); }
/// <summary> /// Adds a new <see cref="IPublishLogger"/> to the Loggers collection /// </summary> /// <param name="manager">The manager</param> /// <param name="logger">A <see cref="IPublishLogger"/> to log messages to</param> /// <returns>The updated manager</returns> public static ClickTwiceManager LogTo(this ClickTwiceManager manager, IPublishLogger logger) { manager.Loggers.Add(logger); return(manager); }