Terrapin-Rocket-Team / Multi-Mission-Flight-Software

An arudino library used by the Terrapin Rocket Team as the foundation of the team's flight software.
5 stars 0 forks source link

Change `logger` to be a singleton like BlinkBuzz #59

Closed DrewBrandt closed 1 month ago

DrewBrandt commented 1 month ago

I think passing it to every place that needs it is a bit cumbersome., It should be a single instance like BlinkBuzz so you can call logger.doSomething() from any class that includes the header file without passing it into that object.

Will wait to address this until #51 is merged.