Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit 6edb3dc

Browse files
Output GitTestExtensions to Log instead of Trace
1 parent 5f94116 commit 6edb3dc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/GitTools.Core/Testing/Extensions/GitTestExtensions.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@
66
using System.Linq;
77
using System.Text;
88
using LibGit2Sharp;
9+
using Logging;
910

1011
public static class GitTestExtensions
1112
{
13+
private static readonly ILog Log = LogProvider.GetCurrentClassLogger();
14+
1215
private static int pad = 1;
1316

1417
public static void DumpGraph(this IRepository repository)
@@ -23,7 +26,7 @@ public static void DumpGraph(this IRepository repository)
2326
@"log --graph --abbrev-commit --decorate --date=relative --all",
2427
repository.Info.Path);
2528

26-
Trace.Write(output.ToString());
29+
Log.Info(output.ToString);
2730
}
2831

2932
public static Commit MakeACommit(this IRepository repository)

0 commit comments

Comments
 (0)