shueja / Monologue

21 stars 7 forks source link

Add static one time logging methods #5

Closed Gold872 closed 10 months ago

Gold872 commented 1 year ago

Similar to what AdvantageKit's logger has, where there would be static methods to record output for data types

This methods would be like:

Monologue.log("This is a double", 3.53); // double
Monologue.log("This is an int", 353); // int
Monologue.log("This is true", true); // boolean
Monologue.log("Front left module state", frontLeftModule.getModuleState()); // Swerve Module State

You get the idea

It would be incredibly useful when debugging, since you would need to log values that don't exist at program startup, which is hard to do with data log manager