#include "logging.hpp"
#include "globalsettings.hpp"
+#include <iostream>
+
#ifdef ENABLE_DECODE
#include <libsigrokdecode/libsigrokdecode.h> /* First, so we avoid a _POSIX_C_SOURCE warning. */
#endif
#include <QApplication>
+using std::cout;
+using std::endl;
using std::lock_guard;
namespace pv {
(void)context;
logging.log(msg, LogSource_pv);
+
+ cout << msg.toUtf8().data() << endl;
}
int Logging::log_sr(void *cb_data, int loglevel, const char *format, va_list args)