Skip to content

Commit 2f0ad26

Browse files
committed
Reduce some logspam
1 parent b668b7f commit 2f0ad26

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

KerbalAlarmClock/KerbalAlarmClock.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1876,7 +1876,7 @@ private void ParseAlarmsAndAffectWarpAndPause(double SecondsTillNextUpdate)
18761876
}
18771877

18781878
LogFormatted("Actioning Alarm");
1879-
LogFormatted("{0}",tmpAlarm.Actions);
1879+
LogFormatted_DebugOnly("{0}",tmpAlarm.Actions);
18801880
}
18811881

18821882
}

KerbalAlarmClock/KerbalAlarmClock_Window.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1654,7 +1654,7 @@ private Boolean ToggleResult(ref Boolean Old, ref Boolean New)
16541654
if (Old != New)
16551655
{
16561656
Old = New;
1657-
LogFormatted("Toggle Changed:" + New.ToString());
1657+
LogFormatted_DebugOnly("Toggle Changed:" + New.ToString());
16581658
return true;
16591659
}
16601660
return false;
@@ -1797,7 +1797,7 @@ internal Boolean DrawCheckbox(ref Boolean blnVar, GUIContent content, Int32 Chec
17971797
{
17981798
//if its clicked then toggle the boolean
17991799
blnVar = !blnVar;
1800-
LogFormatted("Toggle Changed:" + blnVar);
1800+
LogFormatted_DebugOnly("Toggle Changed:" + blnVar);
18011801
}
18021802

18031803
GUILayout.EndHorizontal();
@@ -2142,7 +2142,7 @@ internal Boolean DrawButtonList(ref Int32 Selected, GUIStyle ButtonStyle,Int32 S
21422142
GUILayout.EndHorizontal();
21432143

21442144
if (InitialChoice != Selected)
2145-
LogFormatted(String.Format("Button List Changed:{0} to {1}", InitialChoice, Selected));
2145+
LogFormatted_DebugOnly(String.Format("Button List Changed:{0} to {1}", InitialChoice, Selected));
21462146

21472147

21482148
return !(InitialChoice == Selected);

0 commit comments

Comments
 (0)