Skip to content

Commit

Permalink
Write stuff to log file
Browse files Browse the repository at this point in the history
  • Loading branch information
aroelo authored and atruskie committed Jan 17, 2018
1 parent cff52c4 commit 97422be
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ public class StandardizedFeatureExtraction : AbstractStrongAnalyser
// Input is a class object of Arguments, class is made below
public static void Execute(Arguments arguments)
{
LoggedConsole.WriteLine("The sentence was printed {0} times", arguments.Multiplication);
for (int i = 0; i < arguments.Multiplication; i++)
{
Console.WriteLine(Sentence);
LoggedConsole.WriteLine(Sentence);
}
}

Expand Down Expand Up @@ -111,8 +112,8 @@ public override AnalysisResult2 Analyze<T>(AnalysisSettings analysisSettings, Se
var image = ImageTools.DrawReversedMatrix(MatrixTools.MatrixRotate90Anticlockwise(amplitudeSpectrogramData));
image.Save(imagePath, ImageFormat.Png);
analysisResults.ImageFile = new FileInfo(imagePath);
LoggedConsole.WriteLine("See {0} for spectrogram pictures", imagePath);
}
//image.Save(@"C:\Work\Output\testimage.png", ImageFormat.Png);

return analysisResults;
}
Expand Down

0 comments on commit 97422be

Please sign in to comment.