public static void WatcherChangesetSent(this IActionLog log, MsBuildFileSystemWatcher.Changeset changeset) { var sb = new StringBuilder(); sb.AppendLine("MsBuildFileSystemWatcher changeset sent.") .AppendWatcherChangesetPart(changeset.AddedFiles, "Added Files:") .AppendWatcherChangesetPart(changeset.RenamedFiles, "Renamed Files:") .AppendWatcherChangesetPart(changeset.RemovedFiles, "Removed Files:") .AppendWatcherChangesetPart(changeset.AddedDirectories, "Added Directories:") .AppendWatcherChangesetPart(changeset.RenamedDirectories, "Renamed Directories:") .AppendWatcherChangesetPart(changeset.RemovedDirectories, "Removed Directories:"); log.Trace(sb.ToString()); }
public static void WatcherConsumeChangesFinished(this IActionLog log) { log.Trace("File system changes consumer finished"); }
public static void WatcherApplyRecoveryChange(this IActionLog log, string change) { log.Trace(Invariant($"Apply recovery change: {change}")); }
public static void WatcherConsumeChangesScheduled(this IActionLog log) { log.Trace("Consume file system changes scheduled"); }
public static void WatcherStarted(this IActionLog log) { log.Trace("MsBuildFileSystemWatcher started"); }
public static void ApplyProjectChangesStarted(this IActionLog log) { log.Trace("Starting applying changes to file-mirroring project"); }
public static void MsBuildAfterChangesApplied(this IActionLog log, ProjectRootElement rootElement) { log.Trace("File mirroring project after changes applied:" + Environment.NewLine + rootElement.RawXml); }
public static void ApplyProjectChangesFinished(this IActionLog log) { log.Trace("Finished applying changes to file-mirroring project"); }