Hey team! I hope this is a welcomed change and that it isn't too much at once.
Due to having tried tracking error messages down, etc when the miner is running I did some cleanup work and added termcolor for colorized outputs.
I added red coloring to all std::cerr error messages, and made sure all errors are sent to the error stream. Also changed most informational messages to use the standard std::cout stream so that the two streams can be directed to different outputs, which makes it easy to filter out only errors.
I also colorized a few things that users may find important including stats, difficulty, stratum messages and other numeric information.
I've only compiled this on linux, without an nvidia device present, but here's an example of what to expect:
Hey team! I hope this is a welcomed change and that it isn't too much at once.
Due to having tried tracking error messages down, etc when the miner is running I did some cleanup work and added termcolor for colorized outputs.
I added red coloring to all
std::cerr
error messages, and made sure all errors are sent to the error stream. Also changed most informational messages to use the standardstd::cout
stream so that the two streams can be directed to different outputs, which makes it easy to filter out only errors.I also colorized a few things that users may find important including stats, difficulty, stratum messages and other numeric information.
I've only compiled this on linux, without an nvidia device present, but here's an example of what to expect:![image](https://user-images.githubusercontent.com/760989/44763646-30bd1e80-ab1a-11e8-91e0-8238d9354753.png)