From 92a760fcca884e789fe9610d71c430cc3a9802e4 Mon Sep 17 00:00:00 2001 From: Daniel Chen Date: Sun, 1 Dec 2024 08:34:30 -0500 Subject: [PATCH] Renamed last uses of "dataLogger" with "backend" --- .../processor/AnnotationProcessorTest.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/epilogue-processor/src/test/java/edu/wpi/first/epilogue/processor/AnnotationProcessorTest.java b/epilogue-processor/src/test/java/edu/wpi/first/epilogue/processor/AnnotationProcessorTest.java index 5840e8a7fc4..b06eb5f585b 100644 --- a/epilogue-processor/src/test/java/edu/wpi/first/epilogue/processor/AnnotationProcessorTest.java +++ b/epilogue-processor/src/test/java/edu/wpi/first/epilogue/processor/AnnotationProcessorTest.java @@ -81,7 +81,7 @@ class Example { import edu.wpi.first.epilogue.Logged; import edu.wpi.first.epilogue.Epilogue; import edu.wpi.first.epilogue.logging.ClassSpecificLogger; - import edu.wpi.first.epilogue.logging.DataLogger; + import edu.wpi.first.epilogue.logging.EpilogueBackend; public class ExampleLogger extends ClassSpecificLogger { public ExampleLogger() { @@ -89,12 +89,12 @@ public ExampleLogger() { } @Override - public void update(DataLogger dataLogger, Example object) { + public void update(EpilogueBackend backend, Example object) { if (Epilogue.shouldLog(Logged.Importance.DEBUG)) { - dataLogger.log("x", object.x); - dataLogger.log("y", object.y); - dataLogger.log("getValue", object.getValue()); - dataLogger.log("isActive", object.isActive()); + backend.log("x", object.x); + backend.log("y", object.y); + backend.log("getValue", object.getValue()); + backend.log("isActive", object.isActive()); } } } @@ -1482,7 +1482,7 @@ class Example { import edu.wpi.first.epilogue.Logged; import edu.wpi.first.epilogue.Epilogue; import edu.wpi.first.epilogue.logging.ClassSpecificLogger; - import edu.wpi.first.epilogue.logging.DataLogger; + import edu.wpi.first.epilogue.logging.EpilogueBackend; public class ExampleLogger extends ClassSpecificLogger { public ExampleLogger() { @@ -1490,9 +1490,9 @@ public ExampleLogger() { } @Override - public void update(DataLogger dataLogger, Example object) { + public void update(EpilogueBackend backend, Example object) { if (Epilogue.shouldLog(Logged.Importance.DEBUG)) { - Epilogue.implicitLogger.tryUpdate(dataLogger.getSubLogger("i"), object.i, Epilogue.getConfig().errorHandler); + Epilogue.implicitLogger.tryUpdate(backend.getNested("i"), object.i, Epilogue.getConfig().errorHandler); } } }