lhmcgann / EStimLibrary

A C# library to facilitate electrical stimulation research and development.
MIT License
1 stars 0 forks source link

Parameterize the desired output console #15

Open lhmcgann opened 2 months ago

lhmcgann commented 2 months ago

Motivation: Unity uses a different console than the standard C# Console, e.g., for writing error or warning messages. Add the console as a parameter to HapticSession and determine how to propagate that variable globally, or some better way of making that console instance globally accessible (e.g., how to isolate/encapsulate to an I/O class or something) Figure out which parent type to use as the parameter. Implement such that any and all current Console.WriteLine() calls in the library go to the console parameter instance instead