pyamsoft / pstate-frequency

Easily control Intel p-state driver on Linux
https://pyamsoft.blogspot.com/
GNU General Public License v2.0
172 stars 19 forks source link

Current logging method is really ugly #10

Closed pyamsoft closed 9 years ago

pyamsoft commented 9 years ago

If statements everywhere, calls to string streams, the whole shebang. Right now I put that in place because it would prevent unneccessary allocations and still serve as a way to implement a global logger without resorting to a variable that is passed between almost every function, as that could arguably be uglier.

Still its not good. As of commit: d734213824933e4be741ec7d86cb41c5c79c6d2d

pyamsoft commented 9 years ago

Things are a bit slow moving here at the moment. I'm hoping to find the time to look at this more around 2 weeks down the line.

pyamsoft commented 9 years ago

Its meh now. We'll settle for meh, as its just logging.