diff --git a/docsSite/docs/tab-reference/mechanism.md b/docsSite/docs/tab-reference/mechanism.md index 6d3ecee2..d0e2463f 100644 --- a/docsSite/docs/tab-reference/mechanism.md +++ b/docsSite/docs/tab-reference/mechanism.md @@ -47,7 +47,7 @@ To publish mechanism data using AdvantageKit, record a `Mechanism2d` as an outpu ```java Mechanism2d mechanism = new Mechanism2d(3, 3); -Logger.getInstance().recordOutput("MyMechanism", mechanism); +Logger.recordOutput("MyMechanism", mechanism); ``` diff --git a/docsSite/docs/tab-reference/metadata.md b/docsSite/docs/tab-reference/metadata.md index 4fb2d24a..ec800316 100644 --- a/docsSite/docs/tab-reference/metadata.md +++ b/docsSite/docs/tab-reference/metadata.md @@ -35,7 +35,7 @@ entry.append("MyValue"); In AdvantageKit, call the method below before starting the logger. Metadata is stored separately when running in real and replay for easy comparison. ```java -Logger.getInstance().recordMetadata("MyKey", "MyValue"); +Logger.recordMetadata("MyKey", "MyValue"); ```