diff --git a/epilogue-processor/src/main/java/edu/wpi/first/epilogue/processor/LoggerGenerator.java b/epilogue-processor/src/main/java/edu/wpi/first/epilogue/processor/LoggerGenerator.java index 512bd5efa76..15fa2104dcd 100644 --- a/epilogue-processor/src/main/java/edu/wpi/first/epilogue/processor/LoggerGenerator.java +++ b/epilogue-processor/src/main/java/edu/wpi/first/epilogue/processor/LoggerGenerator.java @@ -253,7 +253,7 @@ private void writeLoggerFile( out.println(); // @Override - // public void update(DataLogger dataLogger, Foo object) { + // public void update(EpilogueBackend backend, Foo object) { out.println(" @Override"); out.println( " public void update(EpilogueBackend backend, " + simpleClassName + " object) {"); diff --git a/epilogue-processor/src/main/java/edu/wpi/first/epilogue/processor/MeasureHandler.java b/epilogue-processor/src/main/java/edu/wpi/first/epilogue/processor/MeasureHandler.java index 9e4846a23f1..8933306d655 100644 --- a/epilogue-processor/src/main/java/edu/wpi/first/epilogue/processor/MeasureHandler.java +++ b/epilogue-processor/src/main/java/edu/wpi/first/epilogue/processor/MeasureHandler.java @@ -31,7 +31,7 @@ public boolean isLoggable(Element element) { @Override public String logInvocation(Element element) { - // DataLogger has builtin support for logging measures + // EpilogueBackend has builtin support for logging measures return "backend.log(\"" + loggedName(element) + "\", " + elementAccess(element) + ")"; } } 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 e5d67a2c225..cdfb99e0824 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 @@ -1488,7 +1488,7 @@ public VectorLogger() { } @Override - public void update(DataLogger dataLogger, Vector object) { + public void update(EpilogueBackend backend, Vector object) { // Implementation is irrelevant } } @@ -1506,7 +1506,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() { @@ -1514,9 +1514,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.vectorLogger.tryUpdate(dataLogger.getSubLogger("vec"), object.vec, Epilogue.getConfig().errorHandler); + Epilogue.vectorLogger.tryUpdate(backend.getNested("vec"), object.vec, Epilogue.getConfig().errorHandler); } } } @@ -1543,7 +1543,7 @@ public GenericLogger() { } @Override - public void update(DataLogger dataLogger, Generic object) { + public void update(EpilogueBackend backend, Generic object) { // Implementation is irrelevant } }