Added cycle logging (#646)

* Added cycle logging

* Use properties for cycle logging

We may not want it since it can be kinda spammy, so we can toggle this feature. We probably want it though.

* Improved cycle logging
This commit is contained in:
ipkpjersi authored and GitHub committed 2024-09-21 18:36:45 +01:00
1 parent 43775016ba
commit db696431e6
4 files changed
+97 -6

No files matched your search

@@ -72,6 +72,11 @@ public class ConfigLoader {
}
if (obj.has("website_integration"))
Constants.WEBSITE_INTEGRATION = obj.getBoolean("website_integration");
if (obj.has("cycle_logging"))
Constants.CYCLE_LOGGING = obj.getBoolean("cycle_logging");
if (obj.has("cycle_logging_tick"))
Constants.CYCLE_LOGGING_TICK = obj.getInt("cycle_logging_tick");
}
private static void initialize() {