mirror of
https://gitea.tendokyu.moe/beerpsi/sinmai-mods.git
synced 2024-11-27 17:10:48 +01:00
Remove some debug logging
This commit is contained in:
parent
549ebaf02f
commit
d0d3658e9a
@ -17,7 +17,6 @@ public class SxtReader(NotesReferences refs) : SxtReaderBase(refs)
|
||||
throw new Exception($"Slide head at row {rowIdx} does not declare a valid slide ID");
|
||||
}
|
||||
|
||||
System.Console.WriteLine("[MoreChartFormats] Saving slide head with ID {0}", row.SlideId);
|
||||
SlideHeads[row.SlideId] = row;
|
||||
return;
|
||||
}
|
||||
@ -74,7 +73,6 @@ public class SxtReader(NotesReferences refs) : SxtReaderBase(refs)
|
||||
note.end.copy(rowTime);
|
||||
}
|
||||
|
||||
System.Console.WriteLine("[MoreChartFormats] [SXT] Adding note {0} at {1}", note.type.getEnumName(), note.time.getBar());
|
||||
Refs.Notes._noteData.Add(note);
|
||||
NoteIndex++;
|
||||
}
|
||||
|
@ -4,14 +4,12 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Xml.Serialization;
|
||||
using MAI2.Util;
|
||||
using Manager.MaiStudio.Serialize;
|
||||
using MonoMod;
|
||||
using MoreChartFormats;
|
||||
using MoreChartFormats.MaiSxt;
|
||||
using MoreChartFormats.Simai;
|
||||
using MoreChartFormats.Simai.Errors;
|
||||
using MoreChartFormats.Simai.Structures;
|
||||
|
||||
namespace Manager;
|
||||
|
||||
@ -153,22 +151,23 @@ class patch_NotesReader : NotesReader
|
||||
|
||||
System.Console.WriteLine("[MoreChartFormats] [Simai] Calculating chart data");
|
||||
calcAll();
|
||||
|
||||
#if DEBUG
|
||||
System.Console.WriteLine("[MoreChartFormats] [Simai] Loaded {0} notes", _total.GetAllNoteNum());
|
||||
System.Console.WriteLine("[MoreChartFormats] [Simai] > {0} taps", _total.GetTapNum());
|
||||
System.Console.WriteLine("[MoreChartFormats] [Simai] > {0} holds", _total.GetHoldNum());
|
||||
System.Console.WriteLine("[MoreChartFormats] [Simai] > {0} slides", _total.GetSlideNum());
|
||||
System.Console.WriteLine("[MoreChartFormats] [Simai] > {0} touches", _total.GetTouchNum());
|
||||
System.Console.WriteLine("[MoreChartFormats] [Simai] > {0} break", _total.GetBreakNum());
|
||||
#endif
|
||||
}
|
||||
catch (SimaiException e)
|
||||
{
|
||||
System.Console.WriteLine($"[MoreChartFormats] There was an error loading the chart at line {e.line}, col {e.character}: {e} ");
|
||||
System.Console.WriteLine($"[MoreChartFormats] [Simai] There was an error loading the chart at line {e.line}, col {e.character}: {e} ");
|
||||
return false;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
System.Console.WriteLine($"[MoreChartFormats] There was an error loading the chart: {e}");
|
||||
System.Console.WriteLine($"[MoreChartFormats] [Simai] There was an error loading the chart: {e}");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user