コード例 #1
0
 public ClickTwicePackSettings WithLogger(IPublishLogger logger)
 {
     Loggers.Add(logger);
     return(this);
 }
コード例 #2
0
 public ClickTwicePackSettings LogTo(IPublishLogger logger)
 {
     WithLogger(logger);
     return(this);
 }
コード例 #3
0
 /// <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);
 }