コード例 #1
0
ファイル: Benchmark.cs プロジェクト: rzel/sunflowsharp
 public void print(UI.Module m, UI.PrintLevel level, string s)
 {
     if (showOutput || (showBenchmarkOutput && m == Module.BENCH))
         Console.WriteLine(UI.formatOutput(m, level, s));
     if (level == PrintLevel.ERROR)
         throw new RuntimeException(s);
 }