project8 / mosquito

Labview interface of the exTorr RGA XT100
MIT License
2 stars 1 forks source link

Implement a better logger #1

Open guiguem opened 7 years ago

guiguem commented 7 years ago

Currently we have a homemade logger which appends everything into a string while restricting its total length. Ideally we should use the log of Windows or use NLog which allows to save any string into a file. Might need to create some .dll or import the .NET code...

guiguem commented 6 years ago

A possible scheme would be a generic Vi (in a separate repo maybe) that would get a queue of errors and display them. The core of the Vi would be a list that is created and appended with new errors (remove old errors to keep the list size finite), and print these errors depending on the verbosity given in the config file or via the interface.