abumq / easyloggingpp

C++ logging library. It is powerful, supports asynchronous low latency, extendable, light-weight, fast performing, thread and type safe and consists of many built-in features. It provides ability to write logs in your own customized format. It also provide support for logging your classes, third-party libraries, STL and third-party containers etc.
MIT License
3.75k stars 918 forks source link

How to display the log info in Qt widget (like QTextBrowser)? #792

Open Micalson opened 3 years ago

Micalson commented 3 years ago

Hello ,thank you for the nice code. In my software, I don't have the console. How to display the log info using easylogingpp?

Regards,

aleksandaratanasov commented 3 years ago

@Micalson Well if I'm not mistaken easylogging++ outputs text either to a file or the standard output (that you see in your console). You need to redirect the std::cout output to your QTextBrowser. This is however not a topic for here.