Skip to content

Commit

Permalink
auto-handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel1464 committed Dec 13, 2024
1 parent 8020375 commit 0627729
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ public static boolean shouldLog(Logged.Importance importance) {
*/
""");
out.println(" public static void bind(" + robotClassName + " robot) {");
out.println(" ManualLogProcessor.enable(robot, config);");
out.println(" if (config.loggingPeriod == null) {");
out.println(" config.loggingPeriod = Seconds.of(robot.getPeriod());");
out.println(" }");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package edu.wpi.first.epilogue.logging.manual;
package edu.wpi.first.epilogue;

import static edu.wpi.first.wpilibj.Alert.AlertType.kError;

import edu.wpi.first.epilogue.EpilogueConfiguration;
import edu.wpi.first.epilogue.Logged;
import edu.wpi.first.epilogue.logging.EpilogueBackend;
import edu.wpi.first.epilogue.logging.NullBackend;
import edu.wpi.first.wpilibj.Alert;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package edu.wpi.first.epilogue.logging.manual;
package edu.wpi.first.epilogue;

import edu.wpi.first.epilogue.logging.EpilogueBackend;

Expand Down

0 comments on commit 0627729

Please sign in to comment.