Dominion.TestOutput.GetDebugLogWriterForIteration C# (CSharp) Method

GetDebugLogWriterForIteration() public static method

public static GetDebugLogWriterForIteration ( PlayerAction playerActions, int gameCount ) : IndentedTextWriter
playerActions PlayerAction
gameCount int
return IndentedTextWriter
        public static IndentedTextWriter GetDebugLogWriterForIteration(PlayerAction[] playerActions, int gameCount)
        {
            string fileName = GetFileNameForType(playerActions, gameCount, "DebugLog");

            if (fileName == null)
                return null;
            return new IndentedTextWriter(new System.IO.StreamWriter(fileName));
        }